Renamed ShortUrl::fromMeta to ShortUrl::create

This commit is contained in:
Alejandro Celaya
2022-12-11 18:24:47 +01:00
parent 201f25e0ad
commit c4f28b3a32
17 changed files with 94 additions and 82 deletions

View File

@@ -114,7 +114,7 @@ class ListShortUrlsCommandTest extends TestCase
$this->shortUrlService->expects($this->once())->method('listShortUrls')->with(
ShortUrlsParams::emptyInstance(),
)->willReturn(new Paginator(new ArrayAdapter([
ShortUrl::fromMeta(ShortUrlCreation::fromRawData([
ShortUrl::create(ShortUrlCreation::fromRawData([
'longUrl' => 'foo.com',
'tags' => ['foo', 'bar', 'baz'],
'apiKey' => $apiKey,