fix: add missing response checks in SessionServerSteps tests

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2023-11-17 14:20:32 +05:00
parent 7d4e0f246c
commit 88ff766054
No known key found for this signature in database
GPG Key ID: B77C34313AEE1FFF

View File

@ -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];