Skip to content

Commit

Permalink
feat(profile) Fix failing test
Browse files Browse the repository at this point in the history
- Change assert statement

[Delivers #162948841]
  • Loading branch information
kwameasiago committed Jan 24, 2019
1 parent a9874af commit b1e7791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authors/apps/profiles/test/test_user_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_updating_profile(self):
kwargs={'username': self.data_john['user']['username']}),
self.profile_data, format='json', HTTP_AUTHORIZATION='token {}'.format(token))
self.assertEqual(profile.status_code, status.HTTP_200_OK)
self.assertIn('message', json.loads(profile.content))
self.assertIn('profile', json.loads(profile.content))

def test_updating_invalid_gender(self):
"""Test updating an invalid gender"""
Expand Down

0 comments on commit b1e7791

Please sign in to comment.