Update tests to ensure that infractions sent to the DB are NOT truncated (even if so on Discord's side) #2955
Labels
a: tests
Related to tests (e.g. unit tests)
p: 3 - low
Low Priority
s: planning
Discussing details
t: enhancement
Changes or improvements to existing features
Moving this below
causes a change in behaviour.
I assume the behaviour we want is for the full message to be sent to the database, but the reason to be trimmed in the audit log (I assume because there's a limit there), but now it's also trimmed in the database.
Originally posted by @wookie184 in #2316 (comment)
We should modify the tests to catch this too
bot/tests/bot/exts/moderation/infraction/test_infractions.py
Line 16 in 36a9ac9
You can do that here if you want otherwise I can open an issue for it.
The text was updated successfully, but these errors were encountered: