Fix tests
This commit is contained in:
parent
c22b36ef50
commit
9ad38b2e5f
@ -12,7 +12,7 @@ services:
|
||||
bind:
|
||||
Symfony\Component\DependencyInjection\Tests\Fixtures\BarInterface: '@Symfony\Component\DependencyInjection\Tests\Fixtures\Bar'
|
||||
$foo: [ ~ ]
|
||||
iterable $baz: !tagged_iterator bar
|
||||
iterable $baz: !tagged_iterator { tag: bar }
|
||||
|
||||
Symfony\Component\DependencyInjection\Tests\Fixtures\Bar:
|
||||
factory: [ ~, 'create' ]
|
||||
|
@ -113,7 +113,7 @@ EOF
|
||||
public function testListMessages()
|
||||
{
|
||||
$sentToFailureStamp = new SentToFailureTransportStamp('async');
|
||||
$redeliveryStamp = new RedeliveryStamp(0, 'failure_receiver', 'Things are bad!');
|
||||
$redeliveryStamp = new RedeliveryStamp(0, 'Things are bad!');
|
||||
$envelope = new Envelope(new \stdClass(), [
|
||||
new TransportMessageIdStamp(15),
|
||||
$sentToFailureStamp,
|
||||
@ -158,7 +158,7 @@ EOF
|
||||
$envelope = new Envelope(new \stdClass(), [
|
||||
new TransportMessageIdStamp(15),
|
||||
$sentToFailureStamp,
|
||||
new RedeliveryStamp(0, 'failure_receiver', 'Things are bad!'),
|
||||
new RedeliveryStamp(0, 'Things are bad!'),
|
||||
]);
|
||||
$receiver = $this->createMock(ListableReceiverInterface::class);
|
||||
$receiver->expects($this->once())->method('all')->with()->willReturn([$envelope]);
|
||||
|
Reference in New Issue
Block a user