mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[ticket/14948] Adjust calls for twig and phpunit updates
PHPBB3-14948
This commit is contained in:
@@ -61,7 +61,10 @@ class phpbb_console_user_add_test extends phpbb_console_user_base
|
||||
$output->writeln(print_r($response, true));
|
||||
return $response;
|
||||
};
|
||||
$helper = $this->getMock('\Symfony\Component\Console\Helper\QuestionHelper', array('ask'));
|
||||
$helper = $this->getMockBuilder('\Symfony\Component\Console\Helper\QuestionHelper')
|
||||
->setMethods(['ask'])
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
$helper->expects($this->any())
|
||||
->method('ask')
|
||||
->will($this->returnCallback($ask));
|
||||
|
Reference in New Issue
Block a user