summaryrefslogtreecommitdiffstats
path: root/tests/unit/controller/ExportControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/controller/ExportControllerTest.php')
-rw-r--r--tests/unit/controller/ExportControllerTest.php2
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,' .