Skip to content

Commit bea5f94

Browse files
committed
[ticket/10729] Use mocked null cache for phpunit 3.6 on travis with php 5.2
PHPBB3-10729
1 parent e28b93e commit bea5f94

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/functions_user/delete_user_test.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
1111
require_once dirname(__FILE__) . '/../../phpBB/includes/functions_user.php';
1212
require_once dirname(__FILE__) . '/../../phpBB/includes/utf/utf_tools.php';
13+
require_once dirname(__FILE__) . '/../mock/null_cache.php';
1314

1415
class phpbb_functions_user_delete_user_test extends phpbb_database_test_case
1516
{
@@ -32,7 +33,7 @@ protected function setUp()
3233
'load_online_time' => 5,
3334
'search_type' => 'fulltext_mysql',
3435
);
35-
$cache = $this->getMock('cache');
36+
$cache = new phpbb_mock_null_cache();
3637
}
3738

3839
public function first_last_post_data()

0 commit comments

Comments
 (0)