Skip to content

Commit

Permalink
Fixed tests after #1674
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Feb 4, 2025
1 parent 48a106b commit 9c5f9cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/test/scim/test_sweep.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ def test_user_changed(self):
self.assertTrue(_user_changed(user, remote_user))
setattr(user, attr, stored_attr)

user.last_login_date -= timedelta(hours=24)
user.last_login_date -= timedelta(days=24)
self.assertTrue(_user_changed(user, remote_user))
user.last_login_date += timedelta(hours=24)
user.last_login_date += timedelta(days=24)
user.suspended = True
self.assertTrue(_user_changed(user, remote_user))
user.suspended = False
Expand Down

0 comments on commit 9c5f9cb

Please sign in to comment.