See #248: ensure invitation codes are case insensitive

This commit is contained in:
Eliot Berriot 2018-06-21 19:41:40 +02:00
commit 46ecc3f103
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
4 changed files with 4 additions and 4 deletions

View file

@ -52,7 +52,7 @@ def test_can_disable_registration_view(preferences, api_client, db):
def test_can_signup_with_invitation(preferences, factories, api_client):
url = reverse("rest_register")
invitation = factories["users.Invitation"](code="hello")
invitation = factories["users.Invitation"](code="Hello")
data = {
"username": "test1",
"email": "test1@test.com",