aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Core/Command/Group/InfoTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Core/Command/Group/InfoTest.php')
-rw-r--r--tests/Core/Command/Group/InfoTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Core/Command/Group/InfoTest.php b/tests/Core/Command/Group/InfoTest.php
index 869b6741866..ffd716f502d 100644
--- a/tests/Core/Command/Group/InfoTest.php
+++ b/tests/Core/Command/Group/InfoTest.php
@@ -32,7 +32,7 @@ class InfoTest extends TestCase {
$this->groupManager = $this->createMock(IGroupManager::class);
$this->command = $this->getMockBuilder(Info::class)
->setConstructorArgs([$this->groupManager])
- ->setMethods(['writeArrayInOutputFormat'])
+ ->onlyMethods(['writeArrayInOutputFormat'])
->getMock();
$this->input = $this->createMock(InputInterface::class);