fix(test): typos in emqx_mgmt_api_SUITE

This commit is contained in:
Shawn 2020-12-23 13:47:22 +08:00
parent 60f1b64ad9
commit ec8cfecdc0
1 changed files with 19 additions and 17 deletions

View File

@ -39,21 +39,23 @@ all() ->
groups() -> groups() ->
[{rest_api, [{rest_api,
[sequence], [sequence],
[alarms, [ alarms
apps, , apps
banned, , banned
brokers, , brokers
clients, , clients
listeners, , listeners
metrics, , metrics
nodes, , nodes
plugins, , plugins
modules, , modules
acl_cache, , acl_cache
pubsub, , pubsub
routes_and_subscriptions, , routes_and_subscriptions
stats, , stats
data]}]. , data
]
}].
init_per_suite(Config) -> init_per_suite(Config) ->
emqx_ct_helpers:start_apps([emqx, emqx_management, emqx_auth_mnesia]), emqx_ct_helpers:start_apps([emqx, emqx_management, emqx_auth_mnesia]),
@ -83,7 +85,7 @@ init_per_testcase(data, Config) ->
init_per_testcase(_, Config) -> init_per_testcase(_, Config) ->
Config. Config.
stop_pre_testcase(data, _Config) -> end_per_testcase(data, _Config) ->
application:stop(emqx_dahboard), application:stop(emqx_dahboard),
application:stop(emqx_rule_engine), application:stop(emqx_rule_engine),
application:stop(emqx_modules), application:stop(emqx_modules),
@ -92,7 +94,7 @@ stop_pre_testcase(data, _Config) ->
meck:unload(emqx_sys), meck:unload(emqx_sys),
ok; ok;
stop_pre_testcase(_, _Config) -> end_per_testcase(_, _Config) ->
ok. ok.
get(Key, ResponseBody) -> get(Key, ResponseBody) ->