aboutsummaryrefslogtreecommitdiffstats
path: root/tests/di
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2013-07-11 17:54:03 -0400
committerIgor Wiedler <igor@wiedler.ch>2013-07-11 18:04:40 -0400
commit1a5d685f45e5fd4450750227ef2eefe34a9b482a (patch)
treec73082cdd293b9f5afd88beb728211ee914ca93b /tests/di
parentbdd1d4d132ce3e1491c8b8509c3b5958887ed1de (diff)
downloadforums-1a5d685f45e5fd4450750227ef2eefe34a9b482a.tar
forums-1a5d685f45e5fd4450750227ef2eefe34a9b482a.tar.gz
forums-1a5d685f45e5fd4450750227ef2eefe34a9b482a.tar.bz2
forums-1a5d685f45e5fd4450750227ef2eefe34a9b482a.tar.xz
forums-1a5d685f45e5fd4450750227ef2eefe34a9b482a.zip
[feature/bootstrap-dic] Bootstrap container from config.php
PHPBB3-11651
Diffstat (limited to 'tests/di')
-rw-r--r--tests/di/create_container_test.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/di/create_container_test.php b/tests/di/create_container_test.php
index 6de8803df9..b3992dbd80 100644
--- a/tests/di/create_container_test.php
+++ b/tests/di/create_container_test.php
@@ -40,11 +40,12 @@ class phpbb_di_container_test extends phpbb_test_case
public function test_phpbb_create_compiled_container()
{
$phpbb_root_path = __DIR__ . '/../../phpBB/';
+ $config_file = __DIR__ . '/fixtures/config.php';
$extensions = array(
new phpbb_di_extension_config(__DIR__ . '/fixtures/config.php'),
new phpbb_di_extension_core($phpbb_root_path),
);
- $container = phpbb_create_compiled_container($extensions, array(), $phpbb_root_path, 'php');
+ $container = phpbb_create_compiled_container($config_file, $extensions, array(), $phpbb_root_path, 'php');
$this->assertInstanceOf('Symfony\Component\DependencyInjection\ContainerBuilder', $container);
$this->assertTrue($container->isFrozen());