8000 Fix tests · symfony/symfony@9ad38b2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9ad38b2

Browse files
Fix tests
1 parent c22b36e commit 9ad38b2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/services_bindings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212
bind:
1313
Symfony\Component\DependencyInjection\Tests\Fixtures\BarInterface: '@Symfony\Component\DependencyInjection\Tests\Fixtures\Bar'
1414
$foo: [ ~ ]
15-
iterable $baz: !tagged_iterator bar
15+
iterable $baz: !tagged_iterator { tag: bar }
1616

1717
Symfony\Component\DependencyInjection\Tests\Fixtures\Bar:
1818
factory: [ ~, 'create' ]

src/Symfony/Component/Messenger/Tests/Command/FailedMessagesShowCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function testReceiverShouldBeListable()
113113
public function testListMessages()
114114
{
115115
$sentToFailureStamp = new SentToFailureTransportStamp('async');
116-
$redeliveryStamp = new RedeliveryStamp(0, 'failure_receiver', 'Things are bad!');
116+
$redeliveryStamp = new RedeliveryStamp(0, 'Things are bad!');
117117
$envelope = new Envelope(new \stdClass(), [
118118
new TransportMessageIdStamp(15),
119119
$sentToFailureStamp,
@@ -158,7 +158,7 @@ public function testListMessagesReturnsPaginatedMessages()
158158
$envelope = new Envelope(new \stdClass(), [
159159
new TransportMessageIdStamp(15),
160160
$sentToFailureStamp,
161-
new RedeliveryStamp(0, 'failure_receiver', 'Things are bad!'),
161+
new RedeliveryStamp(0, 'Things are bad!'),
162162
]);
163163
$receiver = $this->createMock(ListableReceiverInterface::class);
164164
$receiver->expects($this->once())->method('all')->with()->willReturn([$envelope]);

0 commit comments

Comments
 (0)
0