Skip to content

Commit 90b0f90

Browse files
author
plfort
committed
Fix test AppKernel for symfony 2.8
1 parent a82ca50 commit 90b0f90

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Tests/app/AppKernel.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,12 @@ protected function build(\Symfony\Component\DependencyInjection\ContainerBuilder
5454
\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_BEFORE_OPTIMIZATION
5555
);
5656
}
57+
58+
protected function prepareContainer(\Symfony\Component\DependencyInjection\ContainerBuilder $container)
59+
{
60+
parent::prepareContainer($container);
61+
if(self::VERSION < 30300) {
62+
$this->build($container);
63+
}
64+
}
5765
}

0 commit comments

Comments
 (0)