Skip to content

Commit

Permalink
Merge branch '4.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobion committed Jul 5, 2019
2 parents 8d4b3cf + 9e62d69 commit c7c5be1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Tests/DependencyInjection/MessengerPassTest.php
Expand Up @@ -494,10 +494,8 @@ public function testNeedsToHandleAtLeastOneMessage()

public function testRegistersTraceableBusesToCollector()
{
$dataCollector = $this->getMockBuilder(MessengerDataCollector::class)->getMock();

$container = $this->getContainerBuilder($fooBusId = 'messenger.bus.foo');
$container->register('data_collector.messenger', $dataCollector);
$container->register('data_collector.messenger', MessengerDataCollector::class);
$container->setParameter('kernel.debug', true);

(new MessengerPass())->process($container);
Expand Down

0 comments on commit c7c5be1

Please sign in to comment.