mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 12:13:13 +08:00
Some extra minor improvements
This commit is contained in:
@@ -130,13 +130,13 @@ class NotFoundHandlerTest extends TestCase
|
||||
{
|
||||
$request = ServerRequestFactory::fromGlobals();
|
||||
|
||||
yield [$request, NotFoundHandler::NOT_FOUND_ERROR_TEMPLATE];
|
||||
yield [$request, NotFoundHandler::NOT_FOUND_TEMPLATE];
|
||||
yield [
|
||||
$request->withAttribute(
|
||||
RouteResult::class,
|
||||
RouteResult::fromRoute(new Route('', $this->prophesize(MiddlewareInterface::class)->reveal()))
|
||||
),
|
||||
NotFoundHandler::INVALID_SHORT_CODE_ERROR_TEMPLATE,
|
||||
NotFoundHandler::INVALID_SHORT_CODE_TEMPLATE,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user