Fix dependency injected in CrawlingHelper

This commit is contained in:
Alejandro Celaya
2023-02-10 20:26:18 +01:00
parent ad44a8441a
commit 70c1c9f018
5 changed files with 51 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ class ListShortUrlsTest extends ApiTestCase
],
'domain' => null,
'title' => null,
'crawlable' => false,
'crawlable' => true,
'forwardQuery' => false,
];
private const SHORT_URL_CUSTOM_DOMAIN = [

View File

@@ -62,6 +62,7 @@ class ShortUrlsFixture extends AbstractFixture implements DependentFixtureInterf
'maxVisits' => 2,
'apiKey' => $authorApiKey,
'longUrl' => 'https://shlink.io',
'crawlable' => true,
'forwardQuery' => false,
])), '2019-01-01 00:00:20');
$manager->persist($customShortUrl);