aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar ionite34 <[email protected]>2022-07-28 05:19:30 -0400
committerGravatar Ionite <[email protected]>2022-08-16 16:38:26 -0400
commit8db7ef5df087e43804d07dabe2037af18adcb0d6 (patch)
tree2efbc8d506526edcf89eba818a1d5ac1a7d44042 /tests
parentFixed test patches (diff)
Added isoformat for test payload
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/exts/moderation/infraction/test_utils.py2
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