()
| 205 | } |
| 206 | |
| 207 | public function testCanGetDelayedJobs(): void |
| 208 | { |
| 209 | $this->queue->add('delayed-1', ['data' => 1], ['delay' => 60000]); |
| 210 | $this->queue->add('delayed-2', ['data' => 2], ['delay' => 120000]); |
| 211 | |
| 212 | $delayedJobs = $this->queue->getDelayed(); |
| 213 | |
| 214 | $this->assertGreaterThanOrEqual(2, count($delayedJobs)); |
| 215 | } |
| 216 | |
| 217 | public function testCanGetPrioritizedJobs(): void |
| 218 | { |
nothing calls this directly
no test coverage detected