mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-25 20:58:55 +00:00
[ticket/15055] Use getMock() for phpBB 3.2 compatibility
PHPBB3-15055
This commit is contained in:
parent
4afb53dd8d
commit
7b6be23117
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class phpbb_console_user_add_test extends phpbb_console_user_base
|
||||||
$output->writeln(print_r($response, true));
|
$output->writeln(print_r($response, true));
|
||||||
return $response;
|
return $response;
|
||||||
};
|
};
|
||||||
$helper = $this->createMock('\Symfony\Component\Console\Helper\QuestionHelper');
|
$helper = $this->getMock('\Symfony\Component\Console\Helper\QuestionHelper', array('ask'));
|
||||||
$helper->expects($this->any())
|
$helper->expects($this->any())
|
||||||
->method('ask')
|
->method('ask')
|
||||||
->will($this->returnCallback($ask));
|
->will($this->returnCallback($ask));
|
||||||
|
|
Loading…
Add table
Reference in a new issue