diff options
author | Olivier Paroz <github@oparoz.com> | 2015-08-19 23:44:24 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-08-19 23:44:24 +0300 |
commit | 79b85c933c8eb2dadda746508ce39d3cc5580a36 (patch) | |
tree | 8a281e8c1a0f69c6d84104ae1bf26d618cfb8e6b /tests/unit | |
parent | 309e8b4f81579dca11ffecb60ca9851156ac4cec (diff) |
Test various config configuration and invalid folders
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/controller/PreviewControllerTest.php | 1 |
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 ); |