Updated GenerateShortUrlCommand to accept the findIfExists flag

This commit is contained in:
Alejandro Celaya
2019-02-03 12:09:56 +01:00
parent a918113ba0
commit 04d4d4a8d7
3 changed files with 16 additions and 12 deletions

View File

@@ -90,7 +90,7 @@ class GenerateShortUrlCommandTest extends TestCase
$this->commandTester->execute([
'command' => 'shortcode:generate',
'longUrl' => 'http://domain.com/foo/bar',
'--tags' => ['foo,bar', 'baz', 'boo,zar'],
'--tags' => ['foo,bar', 'baz', 'boo,zar,baz'],
]);
$output = $this->commandTester->getDisplay();