mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/15055] Use getMock() for phpBB 3.2 compatibility
PHPBB3-15055
This commit is contained in:
@@ -61,7 +61,7 @@ class phpbb_console_user_add_test extends phpbb_console_user_base
|
||||
$output->writeln(print_r($response, true));
|
||||
return $response;
|
||||
};
|
||||
$helper = $this->createMock('\Symfony\Component\Console\Helper\QuestionHelper');
|
||||
$helper = $this->getMock('\Symfony\Component\Console\Helper\QuestionHelper', array('ask'));
|
||||
$helper->expects($this->any())
|
||||
->method('ask')
|
||||
->will($this->returnCallback($ask));
|
||||
|
Reference in New Issue
Block a user