aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework/phpbb_functional_test_case.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-05-04 10:09:37 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-05-04 10:10:12 +0200
commitb3cc20a575da12e7b66f3883dcc7f0eb6ca82ad8 (patch)
tree4bbd6c30748c06369114c1e78879bcb4df88b1a1 /tests/test_framework/phpbb_functional_test_case.php
parentda68cfb7758d5b4faeac7b725d011700f398cc10 (diff)
downloadforums-b3cc20a575da12e7b66f3883dcc7f0eb6ca82ad8.tar
forums-b3cc20a575da12e7b66f3883dcc7f0eb6ca82ad8.tar.gz
forums-b3cc20a575da12e7b66f3883dcc7f0eb6ca82ad8.tar.bz2
forums-b3cc20a575da12e7b66f3883dcc7f0eb6ca82ad8.tar.xz
forums-b3cc20a575da12e7b66f3883dcc7f0eb6ca82ad8.zip
[ticket/13782] Rename null driver to dummy for PHP7 compatibility
PHPBB3-13782
Diffstat (limited to 'tests/test_framework/phpbb_functional_test_case.php')
-rw-r--r--tests/test_framework/phpbb_functional_test_case.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_framework/phpbb_functional_test_case.php b/tests/test_framework/phpbb_functional_test_case.php
index 2be6c46a6d..0fec3c2dff 100644
--- a/tests/test_framework/phpbb_functional_test_case.php
+++ b/tests/test_framework/phpbb_functional_test_case.php
@@ -574,7 +574,7 @@ class phpbb_functional_test_case extends phpbb_test_case
}
$cache = new phpbb_mock_null_cache;
- $cache_driver = new \phpbb\cache\driver\null();
+ $cache_driver = new \phpbb\cache\driver\dummy();
$phpbb_container = new phpbb_mock_container_builder();
$phpbb_container->set('cache.driver', $cache_driver);
$phpbb_notifications = new phpbb_mock_notification_manager();
@@ -623,7 +623,7 @@ class phpbb_functional_test_case extends phpbb_test_case
$phpbb_log = new \phpbb\log\log($db, $user, $auth, $phpbb_dispatcher, $phpbb_root_path, 'adm/', $phpEx, LOG_TABLE);
$cache = new phpbb_mock_null_cache;
- $cache_driver = new \phpbb\cache\driver\null();
+ $cache_driver = new \phpbb\cache\driver\dummy();
$phpbb_container = new phpbb_mock_container_builder();
$phpbb_container->set('cache.driver', $cache_driver);
$phpbb_container->set('notification_manager', new phpbb_mock_notification_manager());
@@ -665,7 +665,7 @@ class phpbb_functional_test_case extends phpbb_test_case
$phpbb_log = new \phpbb\log\log($db, $user, $auth, $phpbb_dispatcher, $phpbb_root_path, 'adm/', $phpEx, LOG_TABLE);
$cache = new phpbb_mock_null_cache;
- $cache_driver = new \phpbb\cache\driver\null();
+ $cache_driver = new \phpbb\cache\driver\dummy();
$phpbb_container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
$phpbb_container
->expects($this->any())