mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/12610] Use exception_interface
PHPBB3-12610
This commit is contained in:
committed by
Tristan Darricau
parent
376042d845
commit
8481bd4e18
@@ -62,6 +62,9 @@ class phpbb_console_command_check_test extends phpbb_test_case
|
||||
$this->assertSame($status, 1);
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException phpbb\exception\runtime_exception
|
||||
*/
|
||||
public function test_error()
|
||||
{
|
||||
$command_tester = $this->get_command_tester('1');
|
||||
@@ -87,7 +90,7 @@ class phpbb_console_command_check_test extends phpbb_test_case
|
||||
->getMock();
|
||||
|
||||
$config = new \phpbb\config\config(array('version' => $current_version));
|
||||
$this->version_helper = new \phpbb\version_helper($cache, $config, new \phpbb\file_downloader(), $user);
|
||||
$this->version_helper = new \phpbb\version_helper($cache, $config, new \phpbb\file_downloader());
|
||||
|
||||
$container = new phpbb_mock_container_builder;
|
||||
$container->set('version_helper', $this->version_helper);
|
||||
|
Reference in New Issue
Block a user