diff options
author | Nils Adermann <naderman@naderman.de> | 2013-09-10 14:01:09 +0200 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2013-09-16 00:25:27 +0200 |
commit | b95fdacdd378877d277e261465da73deb06e50da (patch) | |
tree | 01d55340b37f412cecd2d898c302e101b8a0ed19 /tests/di | |
parent | 196e1813cd37c47965eb6f254ce6a55210a1b751 (diff) | |
download | forums-b95fdacdd378877d277e261465da73deb06e50da.tar forums-b95fdacdd378877d277e261465da73deb06e50da.tar.gz forums-b95fdacdd378877d277e261465da73deb06e50da.tar.bz2 forums-b95fdacdd378877d277e261465da73deb06e50da.tar.xz forums-b95fdacdd378877d277e261465da73deb06e50da.zip |
[ticket/11700] Move all recent code to namespaces
PHPBB3-11700
Diffstat (limited to 'tests/di')
-rw-r--r-- | tests/di/create_container_test.php | 14 | ||||
-rw-r--r-- | tests/di/fixtures/config.php | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/di/create_container_test.php b/tests/di/create_container_test.php index b3992dbd80..ffa37d3b3d 100644 --- a/tests/di/create_container_test.php +++ b/tests/di/create_container_test.php @@ -16,8 +16,8 @@ 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\config(__DIR__ . '/fixtures/config.php'), + new \phpbb\di\extension\core($phpbb_root_path), ); $container = phpbb_create_container($extensions, $phpbb_root_path, 'php'); @@ -28,8 +28,8 @@ 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\config(__DIR__ . '/fixtures/config.php'), + new \phpbb\di\extension\core($phpbb_root_path), ); $container = phpbb_create_install_container($phpbb_root_path, 'php'); @@ -42,8 +42,8 @@ class phpbb_di_container_test extends phpbb_test_case $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), + new \phpbb\di\extension\config(__DIR__ . '/fixtures/config.php'), + new \phpbb\di\extension\core($phpbb_root_path), ); $container = phpbb_create_compiled_container($config_file, $extensions, array(), $phpbb_root_path, 'php'); @@ -52,7 +52,7 @@ class phpbb_di_container_test extends phpbb_test_case } } -class phpbb_db_driver_container_mock extends phpbb_db_driver +class phpbb_db_driver_container_mock extends \phpbb\db\driver\driver { public function sql_connect() { diff --git a/tests/di/fixtures/config.php b/tests/di/fixtures/config.php index 5033d2dc9f..04e20f63d8 100644 --- a/tests/di/fixtures/config.php +++ b/tests/di/fixtures/config.php @@ -8,4 +8,4 @@ $dbname = 'phpbb'; $dbuser = 'root'; $dbpasswd = ''; $table_prefix = 'phpbb_'; -$acm_type = 'phpbb_cache_driver_null'; +$acm_type = '\phpbb\cache\driver\null'; |