From ec8cfecdc0f0a70f055456b360e9e05a23a23f60 Mon Sep 17 00:00:00 2001 From: Shawn <506895667@qq.com> Date: Wed, 23 Dec 2020 13:47:22 +0800 Subject: [PATCH] fix(test): typos in emqx_mgmt_api_SUITE --- .../test/emqx_mgmt_api_SUITE.erl | 36 ++++++++++--------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/apps/emqx_management/test/emqx_mgmt_api_SUITE.erl b/apps/emqx_management/test/emqx_mgmt_api_SUITE.erl index 71d68db56..0cd2ba300 100644 --- a/apps/emqx_management/test/emqx_mgmt_api_SUITE.erl +++ b/apps/emqx_management/test/emqx_mgmt_api_SUITE.erl @@ -39,21 +39,23 @@ all() -> groups() -> [{rest_api, [sequence], - [alarms, - apps, - banned, - brokers, - clients, - listeners, - metrics, - nodes, - plugins, - modules, - acl_cache, - pubsub, - routes_and_subscriptions, - stats, - data]}]. + [ alarms + , apps + , banned + , brokers + , clients + , listeners + , metrics + , nodes + , plugins + , modules + , acl_cache + , pubsub + , routes_and_subscriptions + , stats + , data + ] + }]. init_per_suite(Config) -> emqx_ct_helpers:start_apps([emqx, emqx_management, emqx_auth_mnesia]), @@ -83,7 +85,7 @@ init_per_testcase(data, Config) -> init_per_testcase(_, Config) -> Config. -stop_pre_testcase(data, _Config) -> +end_per_testcase(data, _Config) -> application:stop(emqx_dahboard), application:stop(emqx_rule_engine), application:stop(emqx_modules), @@ -92,7 +94,7 @@ stop_pre_testcase(data, _Config) -> meck:unload(emqx_sys), ok; -stop_pre_testcase(_, _Config) -> +end_per_testcase(_, _Config) -> ok. get(Key, ResponseBody) ->