mirror of
https://github.com/elyby/accounts.git
synced 2024-11-30 02:32:26 +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,
|
'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];
|
||||||
|
Loading…
Reference in New Issue
Block a user