Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
znick committed Apr 4, 2024
1 parent 8ae6fcd commit dc80166
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions anytask/users/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@ def test_register_user(self):
self.assertTrue(client.login(username="test_user1", password="qwer1"))

user_profile = user.profile
self.assertEqual(user_profile.show_email, True)
self.assertEqual(user_profile.is_active(), True)
self.assertEqual(user_profile.show_email, False)

def test_register_user__login_already_exists(self):
client = self.client
Expand Down

0 comments on commit dc80166

Please sign in to comment.