Skip to content

Commit

Permalink
minor #54768 Remove calls to onConsecutiveCalls() (alexandre-daubois)
Browse files Browse the repository at this point in the history
This PR was merged into the 5.4 branch.

Discussion
----------

Remove calls to `onConsecutiveCalls()`

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        | -
| License       | MIT

cc `@OskarStark` as we did a lot of stuff on tests migration last year

Commits
-------

4118849d86 Remove calls to `onConsecutiveCalls()`
  • Loading branch information
nicolas-grekas committed Apr 30, 2024
2 parents 65640a7 + c19afb1 commit 9e62703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Translation/TranslatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ protected function getLoader()
$loader
->expects($this->exactly(7))
->method('load')
->willReturnOnConsecutiveCalls(
->willReturn(
$this->getCatalogue('fr', [
'foo' => 'foo (FR)',
]),
Expand Down

0 comments on commit 9e62703

Please sign in to comment.