diff options
Diffstat (limited to 'tests/issue659.php')
-rw-r--r-- | tests/issue659.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/issue659.php b/tests/issue659.php deleted file mode 100644 index 2a0e4f19..00000000 --- a/tests/issue659.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php -/** - * @var Goridge\RelayInterface $relay - */ -use Spiral\Goridge; -use Spiral\RoadRunner; - -ini_set('display_errors', 'stderr'); -require __DIR__ . "/vendor/autoload.php"; - -$worker = new RoadRunner\Worker(new Goridge\StreamRelay(STDIN, STDOUT)); -$psr7 = new RoadRunner\Http\PSR7Worker( - $worker, - new \Nyholm\Psr7\Factory\Psr17Factory(), - new \Nyholm\Psr7\Factory\Psr17Factory(), - new \Nyholm\Psr7\Factory\Psr17Factory() -); - -while ($req = $psr7->waitRequest()) { - $psr7->getWorker()->error("test_error"); -} |