aboutsummaryrefslogtreecommitdiffstats
path: root/tests/console
diff options
context:
space:
mode:
Diffstat (limited to 'tests/console')
-rw-r--r--tests/console/user/add_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/console/user/add_test.php b/tests/console/user/add_test.php
index d1a1f8542e..bdfb8a8d2a 100644
--- a/tests/console/user/add_test.php
+++ b/tests/console/user/add_test.php
@@ -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));