Allow short URLs list to be filtered by domain authority

This commit is contained in:
Alejandro Celaya
2024-10-28 09:27:33 +01:00
parent 525a306ec6
commit bb270396b6
9 changed files with 83 additions and 25 deletions

View File

@@ -74,7 +74,7 @@ class ListShortUrlsCommandTest extends TestCase
}
$this->shortUrlService->expects($this->once())->method('listShortUrls')->with(
ShortUrlsParams::emptyInstance(),
ShortUrlsParams::empty(),
)->willReturn(new Paginator(new ArrayAdapter($data)));
$this->commandTester->setInputs(['n']);
@@ -110,7 +110,7 @@ class ListShortUrlsCommandTest extends TestCase
ApiKey $apiKey,
): void {
$this->shortUrlService->expects($this->once())->method('listShortUrls')->with(
ShortUrlsParams::emptyInstance(),
ShortUrlsParams::empty(),
)->willReturn(new Paginator(new ArrayAdapter([
ShortUrlWithVisitsSummary::fromShortUrl(
ShortUrl::create(ShortUrlCreation::fromRawData([