]> git.cworth.org Git - empires-server/blobdiff - test
Add new failing test case: Non-player can terminate judging
[empires-server] / test
diff --git a/test b/test
index fcb556c5baa4e11c1ed1ab3eeaf216bb54c3f1da..646cdcabc0654af15ecbe90b1d5870c7e9846b29 100755 (executable)
--- a/test
+++ b/test
@@ -856,6 +856,16 @@ result=$(echo $(empathy_scores alice))
 test "$result" = "null"
 TEST_END
 
+TEST "Submit word groups from a non-answering player"
+result=$(empathy_judged dale $prompt_id '[]')
+test "$result" = '{"valid":true}'
+TEST_END
+
+TEST "Scoring still hasn't started"
+result=$(echo $(empathy_scores alice))
+test "$result" = "null"
+TEST_END
+
 TEST "Submit word groups from last answering player"
 result=$(empathy_judged charlie $prompt_id '[]')
 test "$result" = '{"valid":true}'