Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-08-20 02:58:08 +0300
committerOlivier Paroz <github@oparoz.com>2015-08-20 02:58:08 +0300
commit76881f27dc6f63334b75e451b928a75994ecddb3 (patch)
tree2f961732c8c48945f97738750d78d43d96021184 /tests/unit
parentfb5d902e115c5a4b313a1fc468b5a3dbacf7c739 (diff)
Test thumbnail API with album thumbnails
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/controller/PreviewControllerTest.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/unit/controller/PreviewControllerTest.php b/tests/unit/controller/PreviewControllerTest.php
index b6fca34d..2d68a8e5 100644
--- a/tests/unit/controller/PreviewControllerTest.php
+++ b/tests/unit/controller/PreviewControllerTest.php
@@ -117,11 +117,8 @@ class PreviewControllerTest extends \Test\TestCase {
$this->assertEquals(
'image/png; charset=utf-8', $response->getHeaders()['Content-type']
);
-
- // TODO Save to a temp file and check the dimensions
- //$this->assertEquals($preview['preview'], $response->render());
}
-
+
public function testGetPreviewWithWrongId() {
$fileId = 99999;
$width = 1024;