aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2020-04-01 12:50:29 +0200
committerBadlop <badlop@process-one.net>2020-04-01 12:50:52 +0200
commit222bb1d55d6af707b8c0e164844d5cf04c97396d (patch)
treef97f718be73c538ebe9c5c0b8e55241b96cf907e
parentBetter error reporting in pubsub tests (diff)
Use different username than other tests, but still include the test chars
-rw-r--r--test/webadmin_tests.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/webadmin_tests.erl b/test/webadmin_tests.erl
index 160b24a09..49e9715b9 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,