From 3561937816578a699008c010829142a01580e7bf Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 12 Jun 2025 18:34:54 +0200 Subject: chore: run rector on tests with new rule Signed-off-by: Robin Appelman --- tests/lib/AppFramework/Http/DispatcherTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lib/AppFramework/Http') diff --git a/tests/lib/AppFramework/Http/DispatcherTest.php b/tests/lib/AppFramework/Http/DispatcherTest.php index 68b88acfb10..4ed6627891c 100644 --- a/tests/lib/AppFramework/Http/DispatcherTest.php +++ b/tests/lib/AppFramework/Http/DispatcherTest.php @@ -157,7 +157,7 @@ class DispatcherTest extends \Test\TestCase { ->method('beforeController') ->with($this->equalTo($this->controller), $this->equalTo($this->controllerMethod)) - ->will($this->throwException($exception)); + ->willThrowException($exception); if ($catchEx) { $this->middlewareDispatcher->expects($this->once()) ->method('afterException') -- cgit v1.2.3