mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Improved public API in ShortUrl entity, reducing anemic model
This commit is contained in:
@@ -103,7 +103,7 @@ class SingleStepCreateShortUrlActionTest extends TestCase
|
||||
null,
|
||||
null,
|
||||
null
|
||||
)->willReturn((new ShortUrl())->setLongUrl(''));
|
||||
)->willReturn(new ShortUrl(''));
|
||||
|
||||
$resp = $this->action->handle($request);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user