aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-09-23 09:03:44 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-09-23 09:03:44 +0200
commitbea5f94de654df6b009d6058816ad500836469b3 (patch)
tree7333d7ccd2273dd163a5df28d99da0b67cdaa02c /tests
parente28b93e0cc3d5bceb803b73c646cf51c153e7a5a (diff)
downloadforums-bea5f94de654df6b009d6058816ad500836469b3.tar
forums-bea5f94de654df6b009d6058816ad500836469b3.tar.gz
forums-bea5f94de654df6b009d6058816ad500836469b3.tar.bz2
forums-bea5f94de654df6b009d6058816ad500836469b3.tar.xz
forums-bea5f94de654df6b009d6058816ad500836469b3.zip
[ticket/10729] Use mocked null cache for phpunit 3.6 on travis with php 5.2
PHPBB3-10729
Diffstat (limited to 'tests')
-rw-r--r--tests/functions_user/delete_user_test.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functions_user/delete_user_test.php b/tests/functions_user/delete_user_test.php
index 1d7c843058..9a7805a819 100644
--- a/tests/functions_user/delete_user_test.php
+++ b/tests/functions_user/delete_user_test.php
@@ -10,6 +10,7 @@
require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
require_once dirname(__FILE__) . '/../../phpBB/includes/functions_user.php';
require_once dirname(__FILE__) . '/../../phpBB/includes/utf/utf_tools.php';
+require_once dirname(__FILE__) . '/../mock/null_cache.php';
class phpbb_functions_user_delete_user_test extends phpbb_database_test_case
{
@@ -32,7 +33,7 @@ class phpbb_functions_user_delete_user_test extends phpbb_database_test_case
'load_online_time' => 5,
'search_type' => 'fulltext_mysql',
);
- $cache = $this->getMock('cache');
+ $cache = new phpbb_mock_null_cache();
}
public function first_last_post_data()