     (is (= 404 status))))
 
 (deftest error-if-invalid-player-test
-  (let [[game _] (create-game)
+  (let [game (create-game)
         [response status] (make-move game {} "ShadowKnight")]
     (is (= "InvalidPlayer" (response :error)))
     (is (= 401 status))))

                     data)))

(deftest play-game-smoke
  (let [[game _] (create-game)
        [response status] (make-move game nil)]
    (is (not= 404 status))))

(deftest error-if-no-actions-test
  (let [[game _] (create-game)
        [response status] (make-move game nil)]
    (is (= "EmptyJSON" (response :error)))
    (is (= 412 status))))

    (get-in game [(keyword other-code) :name])))

(deftest error-if-not-player-turn-test
  (let [game (create-game)
        other-player (get-waiting-player game)
        [response status] (make-move game {} other-player)]
    (is (= "InvalidPlayer" (response :error)))
