Set a status code when setting a body

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2017-03-07 17:31:32 +01:00
parent a94f9d8d94
commit d228acabf6
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ class FakeLockerPlugin extends ServerPlugin {
new LockDiscovery([$lockInfo])
]);
$response->setStatus(200);
$response->setBody($body);
return false;