Move logic to serialize ShortUrls to entity itself

This commit is contained in:
Alejandro Celaya
2024-03-18 22:09:15 +01:00
parent 457a7a14e5
commit e028d8ea31
5 changed files with 42 additions and 83 deletions

View File

@@ -132,7 +132,7 @@ class PublishingUpdatesGeneratorTest extends TestCase
'maxVisits' => null,
],
'domain' => null,
'title' => $shortUrl->title(),
'title' => 'The title',
'crawlable' => false,
'forwardQuery' => true,
'visitsSummary' => VisitsSummary::fromTotalAndNonBots(0, 0),