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:
parent
6b6e38cf70
commit
9b17d540a9
@ -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();
|
||||
});
|
||||
}
|
||||
|
@ -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;
|
Loading…
x
Reference in New Issue
Block a user