From 9b17d540a9372f75b61d58beca114cf44eac9bae Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Wed, 13 Feb 2019 14:17:52 -0600 Subject: [PATCH] Move ConstantTask to Fixtures directory --- test/Worker/AbstractWorkerTest.php | 2 +- test/Worker/{ => Fixtures}/ConstantTask.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename test/Worker/{ => Fixtures}/ConstantTask.php (82%) diff --git a/test/Worker/AbstractWorkerTest.php b/test/Worker/AbstractWorkerTest.php index ab85162..88ebc78 100644 --- a/test/Worker/AbstractWorkerTest.php +++ b/test/Worker/AbstractWorkerTest.php @@ -30,7 +30,7 @@ abstract class AbstractWorkerTest extends TestCase { Loop::run(function () { $worker = $this->createWorker(); - $this->assertTrue(yield $worker->enqueue(new ConstantTask)); + $this->assertTrue(yield $worker->enqueue(new Fixtures\ConstantTask)); yield $worker->shutdown(); }); } diff --git a/test/Worker/ConstantTask.php b/test/Worker/Fixtures/ConstantTask.php similarity index 82% rename from test/Worker/ConstantTask.php rename to test/Worker/Fixtures/ConstantTask.php index 2a8eb18..af9b77c 100644 --- a/test/Worker/ConstantTask.php +++ b/test/Worker/Fixtures/ConstantTask.php @@ -1,6 +1,6 @@