From 28491c5fd520580fa30d9888eb5a3a7645362d95 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 21 Sep 2023 21:36:42 +0200 Subject: fix(CI): Move away from setMethods() Signed-off-by: Joas Schilling --- tests/php/Chat/AutoComplete/SearchPluginTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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(); } -- cgit v1.2.3