Fakultas Ilmu Komputer UI

Commit c54864c4 authored by Kefas Satrio Bangkit Solideantyo's avatar Kefas Satrio Bangkit Solideantyo
Browse files

[RED] add test to check user id

parent 594ef580
Pipeline #71868 failed with stage
in 6 minutes and 8 seconds
......@@ -192,6 +192,7 @@ class UserModelTests(APITestCase):
self.assertIn('access_token', json_response)
self.assertIn('refresh_token', json_response)
self.assertIn('user', json_response)
self.assertTrue(json_response.get('user').get('id'))
self.assertEqual(response.status_code, status.HTTP_200_OK)
def test_post_login_user_failed_because_non_existing_email(self):
......
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