Minor cleanup of report spam endpoint (#1979)

This commit is contained in:
ameya-signal
2024-03-21 10:41:25 -07:00
committed by GitHub
parent e7d1eadf8e
commit 7f0f045f29
3 changed files with 5 additions and 7 deletions

View File

@@ -904,7 +904,8 @@ class MessageControllerTest {
Arguments.of(Entity.json("null"), true),
Arguments.of(Entity.json("{\"weird\": 123}"), true),
Arguments.of(Entity.json("\"weirder\""), false),
Arguments.of(Entity.json("weirdest"), false)
Arguments.of(Entity.json("weirdest"), false),
Arguments.of(Entity.json("{\"token\":\"InvalidBase64[][][][]\"}"), false)
);
}