diff options
| author | 2022-07-28 05:19:30 -0400 | |
|---|---|---|
| committer | 2022-07-28 05:19:30 -0400 | |
| commit | c85f7a5ecb46448a235588329439545b42091006 (patch) | |
| tree | 1b7882837262c6c2e1ddbfd58ffb3a710d19805d | |
| parent | Fixed test patches (diff) | |
Added isoformat for test payload
| -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 |