mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 23:33:13 +08:00
Allowed to resolve title during short URL edition if it has to
This commit is contained in:
@@ -102,7 +102,7 @@ class ShortUrlServiceTest extends TestCase
|
||||
self::assertEquals($shortUrlEdit->longUrl() ?? $originalLongUrl, $shortUrl->getLongUrl());
|
||||
$findShortUrl->shouldHaveBeenCalled();
|
||||
$flush->shouldHaveBeenCalled();
|
||||
$this->urlValidator->validateUrl(
|
||||
$this->urlValidator->validateUrlWithTitle(
|
||||
$shortUrlEdit->longUrl(),
|
||||
$shortUrlEdit->doValidateUrl(),
|
||||
)->shouldHaveBeenCalledTimes($expectedValidateCalls);
|
||||
|
||||
Reference in New Issue
Block a user