mirror of
https://github.com/elyby/accounts.git
synced 2024-11-23 05:33:20 +05:30
Merge pull request #31 from Octol1ttle/fix-wrong-join-response
Add missing response checks in SessionServerSteps tests
This commit is contained in:
commit
667f582b3e
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user