mirror of
https://github.com/elyby/accounts.git
synced 2024-12-23 13:50:06 +05:30
fix: add missing response checks in SessionServerSteps tests
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
7d4e0f246c
commit
88ff766054
@ -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