mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Update unit tests for dummy queue driver
This commit is contained in:
parent
b21b700570
commit
a2cdd3d897
1 changed files with 2 additions and 2 deletions
|
|
@ -12,12 +12,12 @@ class QueueTest extends \Codeception\Test\Unit
|
|||
|
||||
Rhymix\Framework\Queue::addTask($handler, $args, $options);
|
||||
|
||||
$output = Rhymix\Framework\Queue::getTask();
|
||||
$output = Rhymix\Framework\Queue::getDriver('dummy')->getNextTask();
|
||||
$this->assertEquals('myfunc', $output->handler);
|
||||
$this->assertEquals('bar', $output->args->foo);
|
||||
$this->assertEquals('val', $output->options->key);
|
||||
|
||||
$output = Rhymix\Framework\Queue::getTask();
|
||||
$output = Rhymix\Framework\Queue::getDriver('dummy')->getNextTask();
|
||||
$this->assertNull($output);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue