paused unit test
This commit is contained in:
parent
518c177c23
commit
d9a1ae2761
1 changed files with 7 additions and 0 deletions
|
@ -58,6 +58,13 @@ class EventTest extends TestCase
|
|||
$this->assertEquals(\Resque::size($this->queue), 1);
|
||||
}
|
||||
|
||||
public function testPause(): void {
|
||||
$this->object->setPaused(true);
|
||||
$this->assertTrue($this->object->isPaused());
|
||||
$this->object->setPaused(false);
|
||||
$this->assertNotTrue($this->object->isPaused());
|
||||
}
|
||||
|
||||
public function testReset(): void
|
||||
{
|
||||
$this->object
|
||||
|
|
Loading…
Reference in a new issue