diff --git a/module/Rest/test-api/Action/ListShortUrlsTest.php b/module/Rest/test-api/Action/ListShortUrlsTest.php index 63664a6d..d3a515c1 100644 --- a/module/Rest/test-api/Action/ListShortUrlsTest.php +++ b/module/Rest/test-api/Action/ListShortUrlsTest.php @@ -18,6 +18,11 @@ class ListShortUrlsTest extends ApiTestCase 'longUrl' => 'https://shlink.io', 'dateCreated' => '2018-05-01T00:00:00+00:00', 'visitsCount' => 3, + 'visitsSummary' => [ + 'total' => 3, + 'nonBots' => 3, + 'bots' => 0, + ], 'tags' => ['foo'], 'meta' => [ 'validSince' => null, @@ -35,6 +40,11 @@ class ListShortUrlsTest extends ApiTestCase 'longUrl' => 'https://shlink.io/documentation/', 'dateCreated' => '2018-05-01T00:00:00+00:00', 'visitsCount' => 2, + 'visitsSummary' => [ + 'total' => 2, + 'nonBots' => 2, + 'bots' => 0, + ], 'tags' => [], 'meta' => [ 'validSince' => null, @@ -52,6 +62,11 @@ class ListShortUrlsTest extends ApiTestCase 'longUrl' => 'https://google.com', 'dateCreated' => '2018-10-20T00:00:00+00:00', 'visitsCount' => 0, + 'visitsSummary' => [ + 'total' => 0, + 'nonBots' => 0, + 'bots' => 0, + ], 'tags' => [], 'meta' => [ 'validSince' => null, @@ -71,6 +86,11 @@ class ListShortUrlsTest extends ApiTestCase . '/acmailer-7-0-the-most-important-release-in-a-long-time/', 'dateCreated' => '2019-01-01T00:00:10+00:00', 'visitsCount' => 2, + 'visitsSummary' => [ + 'total' => 2, + 'nonBots' => 1, + 'bots' => 1, + ], 'tags' => ['bar', 'foo'], 'meta' => [ 'validSince' => '2020-05-01T00:00:00+00:00', @@ -88,6 +108,11 @@ class ListShortUrlsTest extends ApiTestCase 'longUrl' => 'https://shlink.io', 'dateCreated' => '2019-01-01T00:00:20+00:00', 'visitsCount' => 0, + 'visitsSummary' => [ + 'total' => 0, + 'nonBots' => 0, + 'bots' => 0, + ], 'tags' => [], 'meta' => [ 'validSince' => null, @@ -107,6 +132,11 @@ class ListShortUrlsTest extends ApiTestCase . '/considerations-to-properly-use-open-source-software-projects/', 'dateCreated' => '2019-01-01T00:00:30+00:00', 'visitsCount' => 0, + 'visitsSummary' => [ + 'total' => 0, + 'nonBots' => 0, + 'bots' => 0, + ], 'tags' => ['foo'], 'meta' => [ 'validSince' => null,