diff options
author | Olivier Paroz <github@oparoz.com> | 2015-09-13 14:12:27 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-09-13 14:12:27 +0300 |
commit | 98acf0015aae13dc2aa92bb3c53ab39f901ad03a (patch) | |
tree | 087d56c4fe67979d1ca180ee42009cf4854baa99 /tests/api | |
parent | b7e8df7bf20caddf7bd53154bfc078d6edfc796a (diff) |
[8.2] Stop sending the path to the media type icons
Thanks @rullzer for the new OC.Mimetype!
Diffstat (limited to 'tests/api')
-rw-r--r-- | tests/api/GetConfigCest.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/api/GetConfigCest.php b/tests/api/GetConfigCest.php index 716e6c46..09bc1fc0 100644 --- a/tests/api/GetConfigCest.php +++ b/tests/api/GetConfigCest.php @@ -35,10 +35,10 @@ class GetConfigCest { ]; private $mediaTypes = [ "mediatypes" => [ - "image/png" => "/core/img/filetypes/image.png", - "image/jpeg" => "/core/img/filetypes/image.png", - "image/gif" => "/core/img/filetypes/image.png", - "application/postscript" => "/core/img/filetypes/image.png" + "image/png", + "image/jpeg", + "image/gif", + "application/postscript" ] ]; @@ -99,8 +99,8 @@ class GetConfigCest { * TODO Replace with JSONPath once the library is fixed */ $mediaTypes = $this->mediaTypes; - $mediaTypes['mediatypes'] = ["application/font-sfnt" => "/core/img/filetypes/file.png"]; - $mediaTypes['mediatypes'] = ["application/x-font" => "/core/img/filetypes/file.png"]; + $mediaTypes['mediatypes'] = ["application/font-sfnt"]; + $mediaTypes['mediatypes'] = ["application/x-font"]; $I->seeResponseContainsJson($mediaTypes); } |