aboutsummaryrefslogtreecommitdiffstats
path: root/tests/console/user/add_test.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-01-01 19:25:11 +0100
committerMarc Alexander <admin@m-a-styles.de>2018-01-01 19:25:11 +0100
commit7b6be23117aae157d2bff7ca9cc3610320f368a1 (patch)
tree0568d5022870b7d3c3050e5083bbdeb71e43244c /tests/console/user/add_test.php
parent4afb53dd8d4fb53ce49e0164130cf34712e19324 (diff)
downloadforums-7b6be23117aae157d2bff7ca9cc3610320f368a1.tar
forums-7b6be23117aae157d2bff7ca9cc3610320f368a1.tar.gz
forums-7b6be23117aae157d2bff7ca9cc3610320f368a1.tar.bz2
forums-7b6be23117aae157d2bff7ca9cc3610320f368a1.tar.xz
forums-7b6be23117aae157d2bff7ca9cc3610320f368a1.zip
[ticket/15055] Use getMock() for phpBB 3.2 compatibility
PHPBB3-15055
Diffstat (limited to 'tests/console/user/add_test.php')
-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));