1
0
mirror of https://github.com/danog/parallel.git synced 2025-01-22 14:01:14 +01:00

Move ConstantTask to Fixtures directory

This commit is contained in:
Aaron Piotrowski 2019-02-13 14:17:52 -06:00
parent 6b6e38cf70
commit 9b17d540a9
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB
2 changed files with 2 additions and 2 deletions

View File

@ -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();
});
}

View File

@ -1,6 +1,6 @@
<?php
namespace Amp\Parallel\Test\Worker;
namespace Amp\Parallel\Test\Worker\Fixtures;
use Amp\Parallel\Worker\Environment;
use Amp\Parallel\Worker\Task;