Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jeriox committed Oct 19, 2023
1 parent fb47970 commit 7c0dcd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion myhpi/tests/core/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ def test_update_user(self):
self.assertEqual(user.username, "jw.goethe")
self.assertEqual(user.last_name, "Goethe")
claims["family_name"] = "von Goethe"
claims["email"] = "[email protected]"
user = self.auth_backend.update_user(user, claims)
self.assertEqual(user.first_name, "Johann Wolfgang")
self.assertEqual(user.last_name, "von Goethe")
self.assertEqual(user.last_name, "Goethe")
self.assertEqual(user.email, "[email protected]")

0 comments on commit 7c0dcd6

Please sign in to comment.