From 8a1d2383b8276fe83f62b79e1ccf0fe66faa0639 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Thu, 28 Mar 2024 03:37:26 -0400 Subject: [PATCH] [+] Wacca user/status/login tests --- src/test/kotlin/test/WaccaTest.kt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/test/kotlin/test/WaccaTest.kt b/src/test/kotlin/test/WaccaTest.kt index 6f307f85..be453e8e 100644 --- a/src/test/kotlin/test/WaccaTest.kt +++ b/src/test/kotlin/test/WaccaTest.kt @@ -69,4 +69,14 @@ class WaccaTest : StringSpec({ post("user/status/create", """["$uid", "AZA"]""").res exp """[[$uid, "AZA", 1, 0, 0, 0, 0, [0, 0, 0], 0, 0, 0, 0, 0, 0, 0]]""" } + + "user/status/login Guest" { + post("user/status/login", "[0]").res exp + "[[], [], [], 0, [2077, 1, 1, 1, [], []], 0, []]" + } + + "user/status/login #2" { + post("user/status/login", "[$uid]").res exp + "[[], [], [], 0, [2077, 1, 1, 1, [], []], null, []]" + } }) \ No newline at end of file