mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 01:33:11 +08:00
Reolled-back logic that would have made domains with no specific redirects to not fall back to the default redirects
This commit is contained in:
@@ -81,6 +81,10 @@ class NotFoundRedirectHandlerTest extends TestCase
|
||||
$domainService->findByAuthority(Argument::cetera())
|
||||
->willReturn(Domain::withAuthority(''))
|
||||
->shouldBeCalledOnce();
|
||||
$resolver->resolveRedirectResponse(
|
||||
Argument::type(NotFoundType::class),
|
||||
Argument::type(NotFoundRedirectOptions::class),
|
||||
)->willReturn(null)->shouldBeCalledOnce();
|
||||
$resolver->resolveRedirectResponse(Argument::type(NotFoundType::class), Argument::type(Domain::class))
|
||||
->willReturn(null)
|
||||
->shouldBeCalledOnce();
|
||||
|
||||
Reference in New Issue
Block a user