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

Method testDefaultValues

php/tests/JobOptionsTest.php:44–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 }
43
44 public function testDefaultValues(): void
45 {
46 $options = new JobOptions();
47
48 $this->assertNull($options->jobId);
49 $this->assertEquals(0, $options->delay);
50 $this->assertEquals(0, $options->attempts);
51 $this->assertNull($options->priority);
52 $this->assertFalse($options->lifo);
53 }
54
55 public function testBackoffNormalization(): void
56 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected