Skip to content

Commit f7fa651

Browse files
committed
test(sharding): fix queue command callback in test setup
1 parent 14f4cc9 commit f7fa651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Plugin/Sharding/QueueCommandVerificationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ private function createTestableCluster(string $name): TestableCluster {
148148
}
149149

150150
private function createTestableQueue(): TestableQueue {
151-
return new TestableQueue();
151+
return new TestableQueue(null, [$this, 'addCapturedCommand']);
152152
}
153153

154154

0 commit comments

Comments
 (0)