8000 Merge branch '5.4' into 6.4 · symfony/amazon-sqs-messenger@9183bb8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9183bb8

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 505f488 + 31c1deb commit 9183bb8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Transport/AmazonSqsSenderTest.php

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

3333
$serializer = $this->createMock(SerializerInterface::class);
34-
$serializer->method('encode')->with($envelope)->willReturnOnConsecutiveCalls($encoded);
34+
$serializer->method('encode')->with($envelope)->willReturn($encoded);
3535

3636
$sender = new AmazonSqsSender($connection, $serializer);
3737
$sender->send($envelope);
@@ -49,7 +49,7 @@ public function testSendWithAmazonSqsFifoStamp()
4949
->with($encoded['body'], $encoded['headers'], 0, $stamp->getMessageGroupId(), $stamp->getMessageDeduplicationId());
5050

5151
$serializer = $this->createMock(SerializerInterface::class);
52-
$serializer->method('encode')->with($envelope)->willReturnOnConsecutiveCalls($encoded);
52+
$serializer->method('encode')->with($envelope)->willReturn($encoded);
5353

5454
$sender = new AmazonSqsSender($connection, $serializer);
5555
$sender->send($envelope);
@@ -67,7 +67,7 @@ public function testSendWithAmazonSqsXrayTraceHeaderStamp()
6767
->with($encoded['body'], $encoded['headers'], 0, null, null, $stamp->getTraceId());
6868

6969
$serializer = $this->createMock(SerializerInterface::class);
70-
$serializer->method('encode')->with($envelope)->willReturnOnConsecutiveCalls($encoded);
70+
$serializer->method('encode')->with($envelope)->willReturn($encoded);
7171

7272
$sender = new AmazonSqsSender($connection, $serializer);
7373
$sender->send($envelope);

0 commit comments

Comments
 (0)
0