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-19 23:44:24 +0300
committerOlivier Paroz <github@oparoz.com>2015-08-19 23:44:24 +0300
commit79b85c933c8eb2dadda746508ce39d3cc5580a36 (patch)
tree8a281e8c1a0f69c6d84104ae1bf26d618cfb8e6b /tests/unit
parent309e8b4f81579dca11ffecb60ca9851156ac4cec (diff)
Test various config configuration and invalid folders
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/controller/PreviewControllerTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/controller/PreviewControllerTest.php b/tests/unit/controller/PreviewControllerTest.php
index 43e38aad..bc5987a7 100644
--- a/tests/unit/controller/PreviewControllerTest.php
+++ b/tests/unit/controller/PreviewControllerTest.php
@@ -130,6 +130,7 @@ class PreviewControllerTest extends \Test\TestCase {
$this->mockGetResourceFromId($fileId, false);
+ // Todo: Only match status and success
$errorResponse = new JSONResponse(
['message' => 'Oh Nooooes!', 'success' => false], Http::STATUS_NOT_FOUND
);