mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/12657] Fix the order of the parameters for the constructor
PHPBB3-12657
This commit is contained in:
parent
689eaab3e2
commit
c767712c64
1 changed files with 1 additions and 1 deletions
2
tests/console/cache/purge_test.php
vendored
2
tests/console/cache/purge_test.php
vendored
|
@ -85,7 +85,7 @@ class phpbb_console_command_cache_purge_test extends phpbb_test_case
|
||||||
public function get_command_tester()
|
public function get_command_tester()
|
||||||
{
|
{
|
||||||
$application = new Application();
|
$application = new Application();
|
||||||
$application->add(new purge($this->cache, $this->db, $this->getMock('\phpbb\auth\auth'), new \phpbb\log\null(), $this->getMock('\phpbb\user'), $this->config));
|
$application->add(new purge($this->getMock('\phpbb\user'), $this->cache, $this->db, $this->getMock('\phpbb\auth\auth'), new \phpbb\log\null(), $this->config));
|
||||||
|
|
||||||
$command = $application->find('cache:purge');
|
$command = $application->find('cache:purge');
|
||||||
$this->command_name = $command->getName();
|
$this->command_name = $command->getName();
|
||||||
|
|
Loading…
Add table
Reference in a new issue