diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-05-04 10:09:37 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-05-04 10:10:12 +0200 |
commit | b3cc20a575da12e7b66f3883dcc7f0eb6ca82ad8 (patch) | |
tree | 4bbd6c30748c06369114c1e78879bcb4df88b1a1 /tests/dbal | |
parent | da68cfb7758d5b4faeac7b725d011700f398cc10 (diff) | |
download | forums-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/dbal')
-rw-r--r-- | tests/dbal/migrator_tool_module_test.php | 2 | ||||
-rw-r--r-- | tests/dbal/migrator_tool_permission_test.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/dbal/migrator_tool_module_test.php b/tests/dbal/migrator_tool_module_test.php index a665c8c13e..695a7e7a7f 100644 --- a/tests/dbal/migrator_tool_module_test.php +++ b/tests/dbal/migrator_tool_module_test.php @@ -31,7 +31,7 @@ class phpbb_dbal_migrator_tool_module_test extends phpbb_database_test_case $skip_add_log = true; $db = $this->db = $this->new_dbal(); - $this->cache = new \phpbb\cache\service(new \phpbb\cache\driver\null(), new \phpbb\config\config(array()), $this->db, $phpbb_root_path, $phpEx); + $this->cache = new \phpbb\cache\service(new \phpbb\cache\driver\dummy(), new \phpbb\config\config(array()), $this->db, $phpbb_root_path, $phpEx); $lang_loader = new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx); $lang = new \phpbb\language\language($lang_loader); $user = $this->user = new \phpbb\user($lang, '\phpbb\datetime'); diff --git a/tests/dbal/migrator_tool_permission_test.php b/tests/dbal/migrator_tool_permission_test.php index 4453fbf123..3d190e7a11 100644 --- a/tests/dbal/migrator_tool_permission_test.php +++ b/tests/dbal/migrator_tool_permission_test.php @@ -28,7 +28,7 @@ class phpbb_dbal_migrator_tool_permission_test extends phpbb_database_test_case parent::setup(); $db = $this->db = $this->new_dbal(); - $cache = $this->cache = new \phpbb\cache\service(new \phpbb\cache\driver\null(), new \phpbb\config\config(array()), $this->db, $phpbb_root_path, $phpEx); + $cache = $this->cache = new \phpbb\cache\service(new \phpbb\cache\driver\dummy(), new \phpbb\config\config(array()), $this->db, $phpbb_root_path, $phpEx); $this->auth = new \phpbb\auth\auth(); $this->tool = new \phpbb\db\migration\tool\permission($this->db, $this->cache, $this->auth, $phpbb_root_path, $phpEx); |