diff options
author | Olivier Paroz <github@oparoz.com> | 2015-08-18 04:36:20 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-08-18 04:36:20 +0300 |
commit | 5356de77e3339a52111a2cb37ecf89f6146f2a0f (patch) | |
tree | 2e6c341b0954a6357812b3e3673859f38efffecd /tests/api | |
parent | a5c1eb0a9b46c2463011f27a3edd58fbf4f32876 (diff) |
Only list media files we support
Diffstat (limited to 'tests/api')
-rw-r--r-- | tests/api/GetThumbnailsCest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/api/GetThumbnailsCest.php b/tests/api/GetThumbnailsCest.php index f81e647a..8ffccb21 100644 --- a/tests/api/GetThumbnailsCest.php +++ b/tests/api/GetThumbnailsCest.php @@ -69,12 +69,12 @@ class GetThumbnailsCest { $I->wantTo('receive 404 events when I send the wrong IDs'); $I->getUserCredentialsAndUseHttpAuthentication(); $I->haveHttpHeader('Accept', 'text/event-stream'); - $this->params['ids'] = '0;1'; + $this->params['ids'] = '99998;99999'; $I->sendGET($this->apiUrl, $this->params); $I->seeResponseCodeIs(200); $I->seeHttpHeader('Content-type', 'text/event-stream;charset=UTF-8'); - $I->seeResponseContains('"fileid":"0","status":404'); - $I->seeResponseContains('"fileid":"1","status":404'); + $I->seeResponseContains('"fileid":"99998","status":404'); + $I->seeResponseContains('"fileid":"99999","status":404'); } } |