summaryrefslogtreecommitdiff
path: root/tests/broken.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/broken.php')
-rw-r--r--tests/broken.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/broken.php b/tests/broken.php
index 1f869b2d..413f860f 100644
--- a/tests/broken.php
+++ b/tests/broken.php
@@ -10,5 +10,5 @@ $rr = new RoadRunner\Worker($relay);
while ($in = $rr->waitPayload()) {
echo undefined_function();
- $rr->send((string)$in->body, null);
+ $rr->respond(new RoadRunner\Payload((string)$in->body, null));
}