mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +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));
|
$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));
|
||||||
|
Reference in New Issue
Block a user