Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Nov 13, 2024
1 parent 9c6f223 commit 02dd017
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/Model/ModelManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,7 @@ public function testFailingBatchDelete(string $expectedExceptionMessage, array $
$dm
->expects(static::exactly([] === $result ? 1 : (int) ceil(\count($result) / $batchSize)))
->method('flush')
->will(static::onConsecutiveCalls(
...$onConsecutiveFlush
));
->willReturnOnConsecutiveCalls(...$onConsecutiveFlush);

$eventManager = new EventManager();
$hydratorFactory = new HydratorFactory(
Expand Down

0 comments on commit 02dd017

Please sign in to comment.