Merge pull request #31 from Octol1ttle/fix-wrong-join-response

Add missing response checks in SessionServerSteps tests
This commit is contained in:
ErickSkrauch 2023-11-17 14:47:25 +01:00 committed by GitHub
commit 667f582b3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@ class SessionServerSteps extends FunctionalTester {
'serverId' => $serverId, 'serverId' => $serverId,
]); ]);
$this->seeResponseCodeIs(200);
$this->canSeeResponseEquals('OK'); $this->canSeeResponseEquals('OK');
} else { } else {
$route->join([ $route->join([
@ -31,6 +32,7 @@ class SessionServerSteps extends FunctionalTester {
]); ]);
$this->seeResponseCodeIs(204); $this->seeResponseCodeIs(204);
$this->canSeeResponseEquals('');
} }
return [$username, $serverId]; return [$username, $serverId];