We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 394cfb4 commit 0ca5d3aCopy full SHA for 0ca5d3a
tests/TraitTest.php
@@ -14,4 +14,26 @@ public function test_trait_can_set_message_group_id()
14
15
$this->assertEquals('test', $job->messageGroupId);
16
}
17
+
18
+ public function test_trait_can_set_deduplicator()
19
+ {
20
+ $job = new Job();
21
22
+ $job->withDeduplicator('test');
23
24
+ $this->assertEquals('test', $job->deduplicator);
25
+ }
26
27
+ public function test_trait_can_unset_deduplicator()
28
29
30
31
32
33
34
35
+ $job->withoutDeduplicator();
36
37
+ $this->assertEquals('', $job->deduplicator);
38
39
0 commit comments