()
| 85 | } |
| 86 | |
| 87 | public function testCanAddPrioritizedJob(): void |
| 88 | { |
| 89 | $job = $this->queue->add('priority-job', ['foo' => 'bar'], [ |
| 90 | 'priority' => 1, |
| 91 | ]); |
| 92 | |
| 93 | $this->assertInstanceOf(Job::class, $job); |
| 94 | $state = $this->queue->getJobState($job->id); |
| 95 | $this->assertContains($state, ['waiting', 'prioritized']); |
| 96 | } |
| 97 | |
| 98 | public function testCanGetJob(): void |
| 99 | { |
nothing calls this directly
no test coverage detected