Skip to content

Commit 343a90b

Browse files
author
Mikhail Bakulin
committed
Unit test is fixed according to new daemon restart functionality
1 parent 088c780 commit 343a90b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/components/ConsumerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ public function testForceRestart()
287287
$logger = $this->createMock(Logger::class);
288288
$consumer = $this->getMockBuilder(Consumer::class)
289289
->setConstructorArgs([$connection, $routing, $logger, false])
290-
->setMethods(['consume'])
290+
->setMethods(['stopConsuming', 'renew', 'setup'])
291291
->getMock();
292292
$consumer->expects($this->once())
293293
->method('stopConsuming');

0 commit comments

Comments
 (0)