diff options
Diffstat (limited to 'tests/console/config')
| -rw-r--r-- | tests/console/config/config_test.php | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/console/config/config_test.php b/tests/console/config/config_test.php index 076316217d..65bfad4757 100644 --- a/tests/console/config/config_test.php +++ b/tests/console/config/config_test.php @@ -20,13 +20,13 @@ class phpbb_console_command_config_test extends phpbb_test_case  	protected $command_name;  	protected $user; -	public function setUp() +	public function setUp(): void  	{  		global $phpbb_root_path, $phpEx;  		$this->config = new \phpbb\config\config(array()); -		$this->user = $this->getMock('\phpbb\user', array(), array( +		$this->user = $this->createMock('\phpbb\user', array(), array(  			new \phpbb\language\language(new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx)),  			'\phpbb\datetime')  		);  | 
