mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 01:33:11 +08:00
Updated to coding standard v2.1
This commit is contained in:
@@ -73,9 +73,9 @@ class NotFoundRedirectHandlerTest extends TestCase
|
||||
'',
|
||||
$this->prophesize(MiddlewareInterface::class)->reveal(),
|
||||
['GET'],
|
||||
RedirectAction::class
|
||||
)
|
||||
)
|
||||
RedirectAction::class,
|
||||
),
|
||||
),
|
||||
)
|
||||
->withUri(new Uri('/abc123')),
|
||||
'invalidShortUrl',
|
||||
|
||||
@@ -49,7 +49,7 @@ class NotFoundTemplateHandlerTest extends TestCase
|
||||
yield [
|
||||
$request->withAttribute(
|
||||
RouteResult::class,
|
||||
RouteResult::fromRoute(new Route('', $this->prophesize(MiddlewareInterface::class)->reveal()))
|
||||
RouteResult::fromRoute(new Route('', $this->prophesize(MiddlewareInterface::class)->reveal())),
|
||||
),
|
||||
NotFoundTemplateHandler::INVALID_SHORT_CODE_TEMPLATE,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user