aboutsummaryrefslogtreecommitdiffstats
path: root/tests/di
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2013-07-12 15:40:49 -0400
committerJoas Schilling <nickvergessen@gmx.de>2013-07-13 09:57:57 +0200
commit1dea0286a48b4bac6702aad673e13e281690adfb (patch)
treecf72c8d5e82646bfc3d2c79d3b726f4e4529c940 /tests/di
parent6c52fae750ed2955b8c0d737e72f101f4d6f2e3a (diff)
downloadforums-1dea0286a48b4bac6702aad673e13e281690adfb.tar
forums-1dea0286a48b4bac6702aad673e13e281690adfb.tar.gz
forums-1dea0286a48b4bac6702aad673e13e281690adfb.tar.bz2
forums-1dea0286a48b4bac6702aad673e13e281690adfb.tar.xz
forums-1dea0286a48b4bac6702aad673e13e281690adfb.zip
[ticket/11574] Use alternate DI config file for updater
PHPBB3-11574
Diffstat (limited to 'tests/di')
-rw-r--r--tests/di/create_container_test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/di/create_container_test.php b/tests/di/create_container_test.php
index 6de8803df9..d6a5ec823b 100644
--- a/tests/di/create_container_test.php
+++ b/tests/di/create_container_test.php
@@ -17,7 +17,7 @@ class phpbb_di_container_test extends phpbb_test_case
$phpbb_root_path = __DIR__ . '/../../phpBB/';
$extensions = array(
new phpbb_di_extension_config(__DIR__ . '/fixtures/config.php'),
- new phpbb_di_extension_core($phpbb_root_path),
+ new phpbb_di_extension_core($phpbb_root_path . 'config'),
);
$container = phpbb_create_container($extensions, $phpbb_root_path, 'php');
@@ -29,7 +29,7 @@ class phpbb_di_container_test extends phpbb_test_case
$phpbb_root_path = __DIR__ . '/../../phpBB/';
$extensions = array(
new phpbb_di_extension_config(__DIR__ . '/fixtures/config.php'),
- new phpbb_di_extension_core($phpbb_root_path),
+ new phpbb_di_extension_core($phpbb_root_path . 'config'),
);
$container = phpbb_create_install_container($phpbb_root_path, 'php');
@@ -42,7 +42,7 @@ class phpbb_di_container_test extends phpbb_test_case
$phpbb_root_path = __DIR__ . '/../../phpBB/';
$extensions = array(
new phpbb_di_extension_config(__DIR__ . '/fixtures/config.php'),
- new phpbb_di_extension_core($phpbb_root_path),
+ new phpbb_di_extension_core($phpbb_root_path . 'config'),
);
$container = phpbb_create_compiled_container($extensions, array(), $phpbb_root_path, 'php');