Skip to content

Commit b76a9d4

Browse files
author
Michael Wunderlich
committed
test script
1 parent 5c50ed6 commit b76a9d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/test-api.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ do
1414
GAMEID=$(curl --silent -X POST $API/game/$SESSIONID | jq -r .id)
1515
echo "configuring game, "
1616
curl --silent -X POST $API/game/$SESSIONID/$GAMEID/users -H "Content-Type: application/json" --data "[\"$USER1ID\",\"$USER2ID\"]"
17-
curl --silent -X PUT $API/game/$SESSIONID/$GAMEID/rules/102
17+
curl --silent -X PUT $API/game/$SESSIONID/$GAMEID/rules/TICTACTOE
1818
curl --silent -X PUT $API/game/$SESSIONID/$GAMEID/name/tic-tac-toe-test
1919
EPOCH=$(date +%s)
2020
curl --silent -X PUT $API/game/$SESSIONID/$GAMEID/starttime/$EPOCH

0 commit comments

Comments
 (0)