()
| 74 | } |
| 75 | |
| 76 | public function testCanAddDelayedJob(): void |
| 77 | { |
| 78 | $job = $this->queue->add('delayed-job', ['foo' => 'bar'], [ |
| 79 | 'delay' => 60000, // 60 seconds |
| 80 | ]); |
| 81 | |
| 82 | $this->assertInstanceOf(Job::class, $job); |
| 83 | $state = $this->queue->getJobState($job->id); |
| 84 | $this->assertEquals('delayed', $state); |
| 85 | } |
| 86 | |
| 87 | public function testCanAddPrioritizedJob(): void |
| 88 | { |
nothing calls this directly
no test coverage detected