Migrated NotFoundTemplateHandlerTest to use PHPUnit mocks

This commit is contained in:
Alejandro Celaya 2022-10-21 19:25:29 +02:00
parent 230e56370a
commit d842025835

View File

@ -56,7 +56,7 @@ class NotFoundTemplateHandlerTest extends TestCase
RouteResult::fromRoute(
new Route(
'',
$this->prophesize(MiddlewareInterface::class)->reveal(),
$this->createMock(MiddlewareInterface::class),
['GET'],
RedirectAction::class,
),