MCPcopy Create free account
hub / github.com/taskforcesh/bullmq / testCanCleanJobs

Method testCanCleanJobs

php/tests/QueueTest.php:231–238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

229 }
230
231 public function testCanCleanJobs(): void
232 {
233 // This test would require jobs to be completed/failed first
234 // which requires a worker. For now, just verify the method exists.
235 $cleaned = $this->queue->clean(0, 0, 'completed');
236
237 $this->assertIsArray($cleaned);
238 }
239
240 public function testCanGetCountsPerPriority(): void
241 {

Callers

nothing calls this directly

Calls 1

cleanMethod · 0.45

Tested by

no test coverage detected