mirror of
https://github.com/shlinkio/shlink.git
synced 2025-12-12 00:36:16 -06:00
Add exclude-tags CLI tests
This commit is contained in:
parent
fb9e8cd79f
commit
1c38ab1217
@ -87,6 +87,15 @@ class ListShortUrlsTest extends CliTestCase
|
|||||||
| ghi789 | | http://s.test/ghi789 | https://shlink.io/documentation/ | 2018-05-01T00:00:00+00:00 | 2 |
|
| ghi789 | | http://s.test/ghi789 | https://shlink.io/documentation/ | 2018-05-01T00:00:00+00:00 | 2 |
|
||||||
+------------+---------------+----------------------+--------------------------------------- Page 1 of 1 -------------------------------------------------+---------------------------+--------------+
|
+------------+---------------+----------------------+--------------------------------------- Page 1 of 1 -------------------------------------------------+---------------------------+--------------+
|
||||||
OUTPUT];
|
OUTPUT];
|
||||||
|
yield 'exclude tags' => [['--exclude-tag=foo'], <<<OUTPUT
|
||||||
|
+--------------------+-------+-------------------------------------------+----------------------------------+---------------------------+--------------+
|
||||||
|
| Short Code | Title | Short URL | Long URL | Date created | Visits count |
|
||||||
|
+--------------------+-------+-------------------------------------------+----------------------------------+---------------------------+--------------+
|
||||||
|
| custom | | http://s.test/custom | https://shlink.io | 2019-01-01T00:00:20+00:00 | 0 |
|
||||||
|
| custom-with-domain | | http://some-domain.com/custom-with-domain | https://google.com | 2018-10-20T00:00:00+00:00 | 0 |
|
||||||
|
| ghi789 | | http://s.test/ghi789 | https://shlink.io/documentation/ | 2018-05-01T00:00:00+00:00 | 2 |
|
||||||
|
+--------------------+-------+--------------------------------------- Page 1 of 1 --------------------------+---------------------------+--------------+
|
||||||
|
OUTPUT];
|
||||||
// phpcs:enable
|
// phpcs:enable
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user