test(gateway): fix meck unload error and reformat some codes

This commit is contained in:
firest 2022-04-08 13:36:57 +08:00
parent 786be82d07
commit 7f1bec5d78
3 changed files with 10 additions and 9 deletions

View File

@ -42,6 +42,7 @@ init_per_suite(Conf) ->
Conf. Conf.
end_per_suite(_Conf) -> end_per_suite(_Conf) ->
meck:unload(emqx_access_control),
ok. ok.
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------