1
0
Fork 0
mirror of synced 2024-07-03 13:41:01 +12:00

paused unit test

This commit is contained in:
Damodar Lohani 2023-05-15 00:30:31 +00:00
parent 518c177c23
commit d9a1ae2761

View file

@ -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