mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-26 02:40:41 -06:00
Added extra API test covering complex order by for short URL lists
This commit is contained in:
parent
fccd92497a
commit
6ff5a532ea
@ -116,6 +116,13 @@ class ListShortUrlsTest extends ApiTestCase
|
|||||||
self::SHORT_URL_META,
|
self::SHORT_URL_META,
|
||||||
self::SHORT_URL_CUSTOM_DOMAIN,
|
self::SHORT_URL_CUSTOM_DOMAIN,
|
||||||
]];
|
]];
|
||||||
|
yield [['orderBy' => ['shortCode' => 'DESC']], [
|
||||||
|
self::SHORT_URL_CUSTOM_DOMAIN,
|
||||||
|
self::SHORT_URL_META,
|
||||||
|
self::SHORT_URL_CUSTOM_SLUG_AND_DOMAIN,
|
||||||
|
self::SHORT_URL_CUSTOM_SLUG,
|
||||||
|
self::SHORT_URL_SHLINK,
|
||||||
|
]];
|
||||||
yield [['startDate' => Chronos::parse('2018-12-01')->toAtomString()], [
|
yield [['startDate' => Chronos::parse('2018-12-01')->toAtomString()], [
|
||||||
self::SHORT_URL_META,
|
self::SHORT_URL_META,
|
||||||
self::SHORT_URL_CUSTOM_SLUG,
|
self::SHORT_URL_CUSTOM_SLUG,
|
||||||
|
Loading…
Reference in New Issue
Block a user