]> git.cworth.org Git - lmno-server/blobdiff - test
tictactoe: Track API change for the /move request: "square" -> "move"
[lmno-server] / test
diff --git a/test b/test
index 017f38eda85a0d4930b25f573746a80f850e9a96..0e42462a264d8d8e07063628bf6ff7a951cb4a44 100755 (executable)
--- a/test
+++ b/test
@@ -292,7 +292,7 @@ tictactoe_game_path=tictactoe/$tictactoe_game_id
 
 tictactoe_move()
 {
-    curl_post $tictactoe_game_path/move "{\"square\": $1}"
+    curl_post $tictactoe_game_path/move "{ \"move\": $1 }"
 }
 
 TEST_SUBSECTION "Tic Tac Toe /move"
@@ -308,4 +308,3 @@ test "$result" = "false"
 TEST_END
 
 TEST_REPORT
-