diff options
author | Badlop <badlop@process-one.net> | 2020-04-01 12:50:29 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2020-04-01 12:50:52 +0200 |
commit | 222bb1d55d6af707b8c0e164844d5cf04c97396d (patch) | |
tree | f97f718be73c538ebe9c5c0b8e55241b96cf907e /test | |
parent | Better error reporting in pubsub tests (diff) |
Use different username than other tests, but still include the test chars
Diffstat (limited to 'test')
-rw-r--r-- | test/webadmin_tests.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/webadmin_tests.erl b/test/webadmin_tests.erl index 160b24a0..49e9715b 100644 --- a/test/webadmin_tests.erl +++ b/test/webadmin_tests.erl @@ -70,7 +70,7 @@ user_page(Config) -> ?match({_, _}, binary:match(Body, <<"<title>ejabberd Web Admin">>)). adduser(Config) -> - User = <<"webadmin-test">>, + User = <<"userwebadmin-", (?config(user, Config))/binary>>, Server = ?config(server, Config), Password = ?config(password, Config), Body = make_query( @@ -82,7 +82,7 @@ adduser(Config) -> ?match({_, _}, binary:match(Body, <<"<a href='../user/">>)). changepassword(Config) -> - User = <<"webadmin-test">>, + User = <<"userwebadmin-", (?config(user, Config))/binary>>, Server = ?config(server, Config), Password = <<"newpassword-", (?config(password, Config))/binary>>, Body = make_query( @@ -95,7 +95,7 @@ changepassword(Config) -> ?match({_, _}, binary:match(Body, <<"<p class='result'>Submitted</p>">>)). removeuser(Config) -> - User = <<"webadmin-test">>, + User = <<"userwebadmin-", (?config(user, Config))/binary>>, Server = ?config(server, Config), Body = make_query( Config, |