fix(resource): remove resource at the end of each test

This commit is contained in:
Shawn 2022-08-02 18:39:18 +08:00
parent a2afdeeb48
commit f1419d52f1
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ groups() ->
init_per_testcase(_, Config) -> init_per_testcase(_, Config) ->
Config. Config.
end_per_testcase(_, _Config) ->
_ = emqx_resource:remove(?ID).
init_per_suite(Config) -> init_per_suite(Config) ->
code:ensure_loaded(?TEST_RESOURCE), code:ensure_loaded(?TEST_RESOURCE),