diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-12 23:55:42 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-12 23:55:42 +0200 |
commit | a130805a04dbefd3154019b94107e8c71f618a28 (patch) | |
tree | 207da99fd73bd0649f3aae285c359209e24b47bc /tests/unit/controller/ExportControllerTest.php | |
parent | 8f73e33a8617d92b1cfac7bd1937504af835f004 (diff) |
remove failing jsonresponse from tests, this will be transformed into arrays anyways when port to oc7 happens
Diffstat (limited to 'tests/unit/controller/ExportControllerTest.php')
-rw-r--r-- | tests/unit/controller/ExportControllerTest.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/unit/controller/ExportControllerTest.php b/tests/unit/controller/ExportControllerTest.php index 2fbd8d272..820784d18 100644 --- a/tests/unit/controller/ExportControllerTest.php +++ b/tests/unit/controller/ExportControllerTest.php @@ -15,7 +15,6 @@ namespace OCA\News\Controller; use \OCP\IRequest; use \OCP\AppFramework\Http; -use \OCP\AppFramework\Http\JSONResponse; use \OCA\News\Http\TextDownloadResponse; use \OCA\News\Utility\ControllerTestUtility; @@ -127,7 +126,6 @@ class ExportControllerTest extends ControllerTestUtility { $return = $this->controller->articles(); $headers = $return->getHeaders(); - $this->assertTrue($return instanceof JSONResponse); $this->assertEquals('attachment; filename="articles.json"', $headers ['Content-Disposition']); $this->assertEquals('[{"guid":null,"url":null,"title":null,' . |