aboutsummaryrefslogtreecommitdiffstats
path: root/tests/notification
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/notification
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/notification')
-rw-r--r--tests/notification/base.php2
-rw-r--r--tests/notification/submit_post_base.php2
-rw-r--r--tests/notification/user_list_trim_test.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/notification/base.php b/tests/notification/base.php
index c9d57a5934..a1ebecd6f9 100644
--- a/tests/notification/base.php
+++ b/tests/notification/base.php
@@ -63,7 +63,7 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case
$this->user_loader = new \phpbb\user_loader($this->db, $phpbb_root_path, $phpEx, 'phpbb_users');
$auth = $this->auth = new phpbb_mock_notifications_auth();
$cache = $this->cache = new \phpbb\cache\service(
- new \phpbb\cache\driver\null(),
+ new \phpbb\cache\driver\dummy(),
$this->config,
$this->db,
$phpbb_root_path,
diff --git a/tests/notification/submit_post_base.php b/tests/notification/submit_post_base.php
index 1412fb8509..d7a711e007 100644
--- a/tests/notification/submit_post_base.php
+++ b/tests/notification/submit_post_base.php
@@ -72,7 +72,7 @@ abstract class phpbb_notification_submit_post_base extends phpbb_database_test_c
$config = new \phpbb\config\config(array('num_topics' => 1,'num_posts' => 1,));
$cache = new \phpbb\cache\service(
- new \phpbb\cache\driver\null(),
+ new \phpbb\cache\driver\dummy(),
$config,
$db,
$phpbb_root_path,
diff --git a/tests/notification/user_list_trim_test.php b/tests/notification/user_list_trim_test.php
index bcbdc81ef0..f7b4fcb215 100644
--- a/tests/notification/user_list_trim_test.php
+++ b/tests/notification/user_list_trim_test.php
@@ -35,7 +35,7 @@ class phpbb_notification_user_list_trim_test extends phpbb_database_test_case
$config = new \phpbb\config\config(array());
$cache = new \phpbb\cache\service(
- new \phpbb\cache\driver\null(),
+ new \phpbb\cache\driver\dummy(),
$config,
$db,
$phpbb_root_path,