mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/16345] Small improvements
PHPBB3-16346
This commit is contained in:
1
tests/console/cache/purge_test.php
vendored
1
tests/console/cache/purge_test.php
vendored
@@ -24,6 +24,7 @@ class phpbb_console_command_cache_purge_test extends phpbb_test_case
|
||||
protected $command_name;
|
||||
protected $db;
|
||||
protected $config;
|
||||
protected $user;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
|
@@ -20,7 +20,7 @@ class phpbb_console_command_config_test extends phpbb_test_case
|
||||
protected $command_name;
|
||||
protected $user;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
global $phpbb_root_path, $phpEx;
|
||||
|
||||
|
@@ -32,7 +32,7 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case
|
||||
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/config.xml');
|
||||
}
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
global $db, $config, $phpbb_root_path, $phpEx;
|
||||
|
||||
|
@@ -32,7 +32,7 @@ class phpbb_console_command_thumbnail_test extends phpbb_database_test_case
|
||||
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/thumbnail.xml');
|
||||
}
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
global $config, $phpbb_root_path, $phpEx, $phpbb_filesystem;
|
||||
|
||||
|
@@ -21,7 +21,7 @@ class phpbb_console_user_activate_test extends phpbb_console_user_base
|
||||
{
|
||||
protected $notifications;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
@@ -35,7 +35,6 @@ class phpbb_console_user_activate_test extends phpbb_console_user_base
|
||||
$application = new Application();
|
||||
$application->add(new activate(
|
||||
$this->user,
|
||||
$this->db,
|
||||
$this->config,
|
||||
$this->language,
|
||||
$this->log,
|
||||
|
@@ -31,7 +31,7 @@ abstract class phpbb_console_user_base extends phpbb_database_test_case
|
||||
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/config.xml');
|
||||
}
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
global $auth, $db, $cache, $config, $user, $phpbb_dispatcher, $phpbb_container, $phpbb_root_path, $phpEx;
|
||||
|
||||
|
@@ -24,7 +24,6 @@ class phpbb_console_user_delete_test extends phpbb_console_user_base
|
||||
$application = new Application();
|
||||
$application->add(new delete(
|
||||
$this->user,
|
||||
$this->db,
|
||||
$this->language,
|
||||
$this->log,
|
||||
$this->user_loader,
|
||||
|
Reference in New Issue
Block a user