mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-12 20:02:08 +02:00
[ticket/15055] Use getMock() for phpBB 3.2 compatibility
PHPBB3-15055
This commit is contained in:
parent
4afb53dd8d
commit
7b6be23117
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user