aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/di/ordered_service_collection_test.php4
-rw-r--r--tests/di/service_collection_test.php4
-rw-r--r--tests/functions/user_delete_test.php2
-rw-r--r--tests/session/garbage_collection_test.php2
4 files changed, 6 insertions, 6 deletions
diff --git a/tests/di/ordered_service_collection_test.php b/tests/di/ordered_service_collection_test.php
index 046cd8ccef..47e6d23744 100644
--- a/tests/di/ordered_service_collection_test.php
+++ b/tests/di/ordered_service_collection_test.php
@@ -14,7 +14,7 @@
class phpbb_ordered_service_collection_test extends \phpbb_test_case
{
/**
- * @var \phpbb\di\service_collection\ordered_service_collection
+ * @var \phpbb\di\ordered_service_collection
*/
protected $service_collection;
@@ -26,7 +26,7 @@ class phpbb_ordered_service_collection_test extends \phpbb_test_case
$container->set('foobar', new StdClass);
$container->set('barfoo', new StdClass);
- $this->service_collection = new \phpbb\di\service_collection\ordered_service_collection($container);
+ $this->service_collection = new \phpbb\di\ordered_service_collection($container);
$this->service_collection->add('foo', 7);
$this->service_collection->add('bar', 3);
$this->service_collection->add('barfoo', 5);
diff --git a/tests/di/service_collection_test.php b/tests/di/service_collection_test.php
index e78a5180b6..5b51254a4a 100644
--- a/tests/di/service_collection_test.php
+++ b/tests/di/service_collection_test.php
@@ -14,7 +14,7 @@
class phpbb_service_collection_test extends \phpbb_test_case
{
/**
- * @var \phpbb\di\service_collection\service_collection
+ * @var \phpbb\di\service_collection
*/
protected $service_collection;
@@ -24,7 +24,7 @@ class phpbb_service_collection_test extends \phpbb_test_case
$container->set('foo', new StdClass);
$container->set('bar', new StdClass);
- $this->service_collection = new \phpbb\di\service_collection\service_collection($container);
+ $this->service_collection = new \phpbb\di\service_collection($container);
$this->service_collection->add('foo');
$this->service_collection->add('bar');
diff --git a/tests/functions/user_delete_test.php b/tests/functions/user_delete_test.php
index 011d251167..21561492fd 100644
--- a/tests/functions/user_delete_test.php
+++ b/tests/functions/user_delete_test.php
@@ -46,7 +46,7 @@ class phpbb_functions_user_delete_test extends phpbb_database_test_case
$notification_manager = new phpbb_mock_notification_manager();
$provider_collection = new \phpbb\auth\provider_collection($phpbb_container, $config);
$oauth_provider_google = new \phpbb\auth\provider\oauth\service\google($config, $request);
- $oauth_provider_collection = new \phpbb\di\service_collection\service_collection($phpbb_container);
+ $oauth_provider_collection = new \phpbb\di\service_collection($phpbb_container);
$oauth_provider_collection->offsetSet('auth.provider.oauth.service.google', $oauth_provider_google);
$driver_helper = new \phpbb\passwords\driver\helper($config);
diff --git a/tests/session/garbage_collection_test.php b/tests/session/garbage_collection_test.php
index 5b337be44e..3fad81c68b 100644
--- a/tests/session/garbage_collection_test.php
+++ b/tests/session/garbage_collection_test.php
@@ -30,7 +30,7 @@ class phpbb_session_garbage_collection_test extends phpbb_session_test_case
global $phpbb_container;
- $plugins = new \phpbb\di\service_collection\service_collection($phpbb_container);
+ $plugins = new \phpbb\di\service_collection($phpbb_container);
$plugins->add('core.captcha.plugins.nogd');
$phpbb_container->set(
'captcha.factory',