test: fix emqx_connector_SUITE

This commit is contained in:
Ivan Dyachkov 2023-10-26 14:38:58 +02:00 committed by Zaiming (Stone) Shi
parent 37178e1572
commit da7d495da9
1 changed files with 2 additions and 1 deletions

View File

@ -191,8 +191,9 @@ t_remove_fail(_Config) ->
{_, {?CONNECTOR, callback_mode, []}, _},
{_, {?CONNECTOR, on_start, [_, _]}, {ok, connector_state}},
{_, {?CONNECTOR, on_get_channels, [_]}, _},
{_, {?CONNECTOR, on_add_channel, _}, {ok, connector_state}},
{_, {?CONNECTOR, on_get_status, [_, connector_state]}, connected},
{_, {?CONNECTOR, on_get_channels, [_]}, _},
{_, {?CONNECTOR, on_add_channel, _}, {ok, connector_state}},
{_, {?CONNECTOR, on_get_channels, [_]}, _}
],
meck:history(?CONNECTOR)