From 88ff766054a533ec91328aff01422301a2f3d078 Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Fri, 17 Nov 2023 14:20:32 +0500 Subject: [PATCH] fix: add missing response checks in SessionServerSteps tests Signed-off-by: Octol1ttle --- api/tests/functional/_steps/SessionServerSteps.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/tests/functional/_steps/SessionServerSteps.php b/api/tests/functional/_steps/SessionServerSteps.php index 346f127..c2015ae 100644 --- a/api/tests/functional/_steps/SessionServerSteps.php +++ b/api/tests/functional/_steps/SessionServerSteps.php @@ -22,6 +22,7 @@ class SessionServerSteps extends FunctionalTester { 'serverId' => $serverId, ]); + $this->seeResponseCodeIs(200); $this->canSeeResponseEquals('OK'); } else { $route->join([ @@ -31,6 +32,7 @@ class SessionServerSteps extends FunctionalTester { ]); $this->seeResponseCodeIs(204); + $this->canSeeResponseEquals(''); } return [$username, $serverId];