summaryrefslogtreecommitdiff
path: root/tests/worker-cors.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/worker-cors.php')
-rw-r--r--tests/worker-cors.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/worker-cors.php b/tests/worker-cors.php
deleted file mode 100644
index ea3c986c..00000000
--- a/tests/worker-cors.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-
-use Spiral\RoadRunner\Worker;
-use Spiral\RoadRunner\Http\HttpWorker;
-
-ini_set('display_errors', 'stderr');
-require __DIR__ . '/vendor/autoload.php';
-
-$http = new HttpWorker(Worker::create());
-
-while ($req = $http->waitRequest()) {
- $http->respond(200, 'Response', [
- 'Access-Control-Allow-Origin' => ['*']
- ]);
-}