Skip to content

Commit c709cbf

Browse files
author
Cliff Odijk
committed
Fix broken tests
1 parent 4218805 commit c709cbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/SymfonyBundle/DependencyInjection/Compiler/ConfigureMiddlewaresTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ protected function setUp()
3131
{
3232
$this->container = new ContainerBuilder();
3333
$this->mainBusDefinition = new Definition('stdClass');
34+
$this->mainBusDefinition->setPublic(true);
3435
$this->container->setDefinition($this->mainBusId, $this->mainBusDefinition);
3536
$this->container->addCompilerPass(new ConfigureMiddlewares($this->mainBusId, $this->middlewareTag));
3637
}

0 commit comments

Comments
 (0)