Skip to content

Commit

Permalink
fix: test mock return type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Janos Pribelszki committed Oct 11, 2023
1 parent 58935d8 commit a9d8e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/model/taskQueue/QueueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public function testCountShouldCallCountOnBroker()
$queueBrokerMock = $this->getMockForAbstractClass(QueueBrokerInterface::class);

$queueBrokerMock->expects($this->once())
->method('count');
->method('count')->willReturn(1);

/** @var Queue|MockObject $queueMock */
$queueMock = $this->getMockBuilder(Queue::class)
Expand Down

0 comments on commit a9d8e95

Please sign in to comment.