Skip to content

Commit

Permalink
Fix mongooseimctl test
Browse files Browse the repository at this point in the history
  • Loading branch information
Premwoik committed Jan 18, 2022
1 parent fe1d459 commit 9f344ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions big_tests/tests/mongooseimctl_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1137,12 +1137,12 @@ graphql_wrong_arguments_number(Config) ->
simple_register(Config) ->
%% given
Domain = domain(),
{_, Password} = {<<"tyler">>, <<"durden">>},
{Name, Password} = {<<"tyler">>, <<"durden">>},
%% when
{R1, 0} = mongooseimctl("registered_users", [Domain], Config),
Before = length(string:tokens(R1, "\n")),
{_, 0} = mongooseimctl("register", [Domain, Password], Config),
{_, 0} = mongooseimctl("register", [Domain, Password], Config),
{_, 0} = mongooseimctl("register_identified", [Name, Domain, Password], Config),

{R2, 0} = mongooseimctl("registered_users", [Domain], Config),
After = length(string:tokens(R2, "\n")),
Expand Down

0 comments on commit 9f344ef

Please sign in to comment.