Skip to content

Commit b69088f

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: fix compatibility with Twig 3.10 [Strings][EnglishInflector] Fix incorrect pluralisation of 'Album' handle union and intersection types for cascaded validations move wiring of the property info extractor to the ObjectNormalizer move Process component dep to require-dev Remove calls to `onConsecutiveCalls()` fix: remove unwanted type cast accept AbstractAsset instances when filtering schemas better distinguish URL schemes and windows drive letters convert empty CSV header names into numeric keys
2 parents 546b891 + a07d535 commit b69088f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Transport/BeanstalkdSenderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function testSend()
3030
$connection->expects($this->once())->method('send')->with($encoded['body'], $encoded['headers'], 0);
3131

3232
$serializer = $this->createMock(SerializerInterface::class);
33-
$serializer->method('encode')->with($envelope)->willReturnOnConsecutiveCalls($encoded);
33+
$serializer->method('encode')->with($envelope)->willReturn($encoded);
3434

3535
$sender = new BeanstalkdSender($connection, $serializer);
3636
$sender->send($envelope);
@@ -45,7 +45,7 @@ public function testSendWithDelay()
4545
$connection->expects($this->once())->method('send')->with($encoded['body'], $encoded['headers'], 500);
4646

4747
$serializer = $this->createMock(SerializerInterface::class);
48-
$serializer->method('encode')->with($envelope)->willReturnOnConsecutiveCalls($encoded);
48+
$serializer->method('encode')->with($envelope)->willReturn($encoded);
4949

5050
$sender = new BeanstalkdSender($connection, $serializer);
5151
$sender->send($envelope);

0 commit comments

Comments
 (0)