Skip to content

Commit

Permalink
[#2838] change logic in create_user>create func to create user with u…
Browse files Browse the repository at this point in the history
…nique email
  • Loading branch information
calexandr committed Jan 10, 2020
1 parent 7692630 commit caa19bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/tests/legacy/logic/test_auth.py
Expand Up @@ -65,7 +65,7 @@ def create(name):
user = {
"name": name,
"password": "TestPassword1",
"email": "moo@moo.com",
"email": "{}@moo.com".format(name),
}
res = call_api("user_create", user, "sysadmin", 200)
apikeys[name] = str(json.loads(res.body)["result"]["apikey"])
Expand Down

0 comments on commit caa19bb

Please sign in to comment.