Fakultas Ilmu Komputer UI

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

fix test failure

parent 3cf7f9a0
Pipeline #71901 passed with stage
in 15 minutes and 33 seconds
......@@ -195,7 +195,7 @@ class UserModelTests(APITestCase):
self.assertIn('access_token', json_response)
self.assertIn('refresh_token', json_response)
self.assertIn('user', json_response)
self.assertEquals(json_response.get('user').get('id'), 2)
self.assertTrue('id' in json_response.get('user'))
self.assertEquals(json_response.get('user').get('name'), 'tes')
self.assertEqual(response.status_code, status.HTTP_200_OK)
......
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