1
0
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:
Marc Alexander
2018-12-30 11:36:08 +01:00
parent 8e78d829b1
commit c6cc6ba8d8
194 changed files with 281 additions and 266 deletions

View File

@@ -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));