Minor cleanup of report spam endpoint (#1979)

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

No files matched your search

@@ -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)
);
}