mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/16346] Fix method arguments
PHPBB3-16346
This commit is contained in:
7
tests/console/cache/purge_test.php
vendored
7
tests/console/cache/purge_test.php
vendored
@@ -28,8 +28,6 @@ class phpbb_console_command_cache_purge_test extends phpbb_test_case
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
global $phpbb_root_path, $phpEx;
|
||||
|
||||
$this->cache_dir = dirname(__FILE__) . '/tmp/cache/';
|
||||
|
||||
if (file_exists($this->cache_dir))
|
||||
@@ -45,10 +43,7 @@ class phpbb_console_command_cache_purge_test extends phpbb_test_case
|
||||
$this->db = $this->createMock('\phpbb\db\driver\driver_interface');
|
||||
|
||||
$this->config = new \phpbb\config\config(array('assets_version' => 1));
|
||||
$this->user = $this->createMock('\phpbb\user', array(), array(
|
||||
new \phpbb\language\language(new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx)),
|
||||
'\phpbb\datetime')
|
||||
);
|
||||
$this->user = $this->createMock('\phpbb\user');
|
||||
}
|
||||
|
||||
public function test_purge()
|
||||
|
Reference in New Issue
Block a user