Skip to content

Commit

Permalink
test: backend - user serializer
Browse files Browse the repository at this point in the history
user serializer
  • Loading branch information
rkshaon committed Aug 3, 2024
1 parent 05bffca commit b15fe9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/user_api/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def test_email_field_content(self):

def test_create_user(self):
serializer = UserSerializer(data=self.serializer_data)
self.assertTrue(serializer.is_valid())
self.assertTrue(serializer.is_valid(), serializer.errors)
user = serializer.save()
self.assertEqual(user.email, self.serializer_data['email'])
self.assertEqual(user.username, self.serializer_data['username'])
Expand Down

0 comments on commit b15fe9f

Please sign in to comment.