mirror of
https://github.com/shlinkio/shlink.git
synced 2026-08-09 04:28:13 -05:00
Added validateUrl optional flag for create/edit short URLs
This commit is contained in:
@@ -30,7 +30,7 @@ class UrlShortenerTest extends TestCase
|
||||
public function setUp(): void
|
||||
{
|
||||
$this->urlValidator = $this->prophesize(UrlValidatorInterface::class);
|
||||
$this->urlValidator->validateUrl('http://foobar.com/12345/hello?foo=bar')->will(
|
||||
$this->urlValidator->validateUrl('http://foobar.com/12345/hello?foo=bar', null)->will(
|
||||
function (): void {
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user