diff options
author | 2022-07-28 05:19:30 -0400 | |
---|---|---|
committer | 2022-08-16 16:38:26 -0400 | |
commit | 8db7ef5df087e43804d07dabe2037af18adcb0d6 (patch) | |
tree | 2efbc8d506526edcf89eba818a1d5ac1a7d44042 /tests | |
parent | Fixed test patches (diff) |
Added isoformat for test payload
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bot/exts/moderation/infraction/test_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/exts/moderation/infraction/test_utils.py b/tests/bot/exts/moderation/infraction/test_utils.py index def06932b..d3a908b28 100644 --- a/tests/bot/exts/moderation/infraction/test_utils.py +++ b/tests/bot/exts/moderation/infraction/test_utils.py @@ -362,7 +362,7 @@ class TestPostInfraction(unittest.IsolatedAsyncioTestCase): "user": self.user.id, "active": True, "dm_sent": False, - "last_applied": datetime(2020, 1, 1), + "last_applied": datetime(2020, 1, 1).isoformat(), } # Patch the datetime.now function to return a specific time |