From d8420258352e0e1045e1a3f3c471f1687f5e6972 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Fri, 21 Oct 2022 19:25:29 +0200 Subject: [PATCH] Migrated NotFoundTemplateHandlerTest to use PHPUnit mocks --- module/Core/test/ErrorHandler/NotFoundTemplateHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Core/test/ErrorHandler/NotFoundTemplateHandlerTest.php b/module/Core/test/ErrorHandler/NotFoundTemplateHandlerTest.php index 12865171..aa6302a3 100644 --- a/module/Core/test/ErrorHandler/NotFoundTemplateHandlerTest.php +++ b/module/Core/test/ErrorHandler/NotFoundTemplateHandlerTest.php @@ -56,7 +56,7 @@ class NotFoundTemplateHandlerTest extends TestCase RouteResult::fromRoute( new Route( '', - $this->prophesize(MiddlewareInterface::class)->reveal(), + $this->createMock(MiddlewareInterface::class), ['GET'], RedirectAction::class, ),