Skip to content

Commit 458221b

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: 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 restore deprecated properties 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 handle edge cases when constructing constraints with named arguments convert empty CSV header names into numeric keys
2 parents 1271ba6 + a0a47ea commit 458221b

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)