Fakultas Ilmu Komputer UI

Commit 393013ba authored by Muhammad Rafif Elfazri's avatar Muhammad Rafif Elfazri
Browse files

[REFACTOR] Update oauth test

parent 3acce5bc
Pipeline #64589 failed with stages
in 8 minutes and 24 seconds
......@@ -39,7 +39,9 @@ class TestOauth(TestCase):
"access_token": "sankdsanlk",
'password': passcode
json_response = json.loads(response.content)
self.assertEqual(200, response.status_code)
self.assertEqual('mock_user@email.com', json_response.get("username"))
def test_request_token_email_not_exists(self):
email = 'mock_user1212@email.com'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment