Skip to content

Commit

Permalink
Fix string typo in test
Browse files Browse the repository at this point in the history
  • Loading branch information
John Solly committed Jul 19, 2023
1 parent 5e1ecba commit f5d2c8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion django_project/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,9 @@ def test_profile_view_edit(self):
reverse("profile"),
data={"email": "[email protected]", "username": "modified"},
)
self.assertTrue(message_in_response(response, "Your account has been updated"))
self.assertTrue(
message_in_response(response, "Your account has been updated. Thanks!")
)
self.test_user.refresh_from_db()
self.assertEqual(self.test_user.email, "[email protected]")
self.assertEqual(self.test_user.username, "modified")
Expand Down

0 comments on commit f5d2c8f

Please sign in to comment.