Skip to content

Commit

Permalink
[WIP] ping/close connection middleware services (fx)
Browse files Browse the repository at this point in the history
  • Loading branch information
insidestyles committed Apr 24, 2019
1 parent 3ec6231 commit 72ac70c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/DependencyInjection/DoctrineExtensionTest.php
Expand Up @@ -662,7 +662,9 @@ public function testMessengerIntegration()
$extension->load([$config], $container);

$this->assertNotNull($middlewarePrototype = $container->getDefinition('messenger.middleware.doctrine_transaction'));
$this->assertCount(1, $middlewarePrototype->getArguments());
$this->assertNotNull($middlewarePrototype = $container->getDefinition('messenger.middleware.doctrine_ping_connection'));
$this->assertCount(1, $middlewarePrototype->getArguments());
$this->assertNotNull($middlewarePrototype = $container->getDefinition('messenger.middleware.doctrine_close_connection'));
$this->assertCount(1, $middlewarePrototype->getArguments());
}
Expand Down

0 comments on commit 72ac70c

Please sign in to comment.