summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/php/Chat/AutoComplete/SearchPluginTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/php/Chat/AutoComplete/SearchPluginTest.php b/tests/php/Chat/AutoComplete/SearchPluginTest.php
index 2880e5f1b..b09dca0df 100644
--- a/tests/php/Chat/AutoComplete/SearchPluginTest.php
+++ b/tests/php/Chat/AutoComplete/SearchPluginTest.php
@@ -105,7 +105,7 @@ class SearchPluginTest extends TestCase {
$this->userId,
$this->l,
])
- ->setMethods($methods)
+ ->onlyMethods($methods)
->getMock();
}