Set a status code when setting a body
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
a94f9d8d94
commit
d228acabf6
|
@ -136,6 +136,7 @@ class FakeLockerPlugin extends ServerPlugin {
|
|||
new LockDiscovery([$lockInfo])
|
||||
]);
|
||||
|
||||
$response->setStatus(200);
|
||||
$response->setBody($body);
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue