Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored and github-actions[bot] committed Nov 13, 2024
1 parent c14d9f8 commit 69c6a56
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 69c6a56

Please sign in to comment.