aboutsummaryrefslogtreecommitdiffstats
path: root/app_test.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-03-29 11:09:27 +0100
committerGravatar Gareth Coles <[email protected]>2018-03-29 11:09:27 +0100
commit04b22d9668534c092f20029ee26970bfa3889115 (patch)
tree0dbc713ea6cc16345e11a820c7ddc3e5c484b48b /app_test.py
parentAdd icon to login option in nav (diff)
Fix OAuth unit test
Diffstat (limited to 'app_test.py')
-rw-r--r--app_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app_test.py b/app_test.py
index 31acf12d..699a431a 100644
--- a/app_test.py
+++ b/app_test.py
@@ -465,7 +465,7 @@ class TestOauthBackend(SiteTest):
sess_id = "hey bro wazup"
fake_token = {"access_token": "access_token", "id": sess_id, "refresh_token": "refresh_token", "expires_at": 5}
- fake_user = {"id": "1235678987654321", "username": "Zwacky", "discriminator": "#6660", "email": "[email protected]"}
+ fake_user = {"id": 1235678987654321, "username": "Zwacky", "discriminator": "#6660", "email": "[email protected]"}
manager.db.conn = manager.db.get_connection()
manager.oauth_backend.add_user(fake_token, fake_user, sess_id)