mirror of
https://github.com/shlinkio/shlink.git
synced 2025-05-04 14:24:57 +03:00
Created chainIpLocationResolver
This commit is contained in:
parent
d152e2ef9a
commit
fd6d180eba
47 changed files with 288 additions and 176 deletions
module/Core/test/Middleware
|
@ -36,7 +36,7 @@ class QrCodeCacheMiddlewareTest extends TestCase
|
|||
public function noCachedPathFallsBackToNextMiddleware()
|
||||
{
|
||||
$delegate = $this->prophesize(RequestHandlerInterface::class);
|
||||
$delegate->handle(Argument::any())->willReturn(new Response())->shouldBeCalledTimes(1);
|
||||
$delegate->handle(Argument::any())->willReturn(new Response())->shouldBeCalledOnce();
|
||||
|
||||
$this->middleware->process(ServerRequestFactory::fromGlobals()->withUri(
|
||||
new Uri('/foo/bar')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue