summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-09-21 21:36:42 +0200
committerJoas Schilling <coding@schilljs.com>2023-09-22 10:15:40 +0200
commit28491c5fd520580fa30d9888eb5a3a7645362d95 (patch)
treed802ccfe48e9bbe0919893a6d372af7b54b9df57 /tests
parentfa3c4443c1bbdcf12d9d5f66b3f15c7e206282e7 (diff)
fix(CI): Move away from setMethods()
Signed-off-by: Joas Schilling <coding@schilljs.com>
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();
}