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