summaryrefslogtreecommitdiffstats
path: root/tests/unit/controller/ApiControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/controller/ApiControllerTest.php')
-rw-r--r--tests/unit/controller/ApiControllerTest.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/unit/controller/ApiControllerTest.php b/tests/unit/controller/ApiControllerTest.php
index 6f4dd1e05..ec914a960 100644
--- a/tests/unit/controller/ApiControllerTest.php
+++ b/tests/unit/controller/ApiControllerTest.php
@@ -14,8 +14,6 @@
namespace OCA\News\Controller;
use \OCP\IRequest;
-use \OCP\AppFramework\Http\JSONResponse;
-
use \OCA\News\Utility\ControllerTestUtility;
@@ -87,7 +85,6 @@ class ApiControllerTest extends ControllerTestUtility {
$this->updater->expects($this->once())
->method('beforeUpdate');
$response = $this->newsAPI->beforeUpdate();
- $this->assertTrue($response instanceof JSONResponse);
}
@@ -95,7 +92,6 @@ class ApiControllerTest extends ControllerTestUtility {
$this->updater->expects($this->once())
->method('afterUpdate');
$response = $this->newsAPI->afterUpdate();
- $this->assertTrue($response instanceof JSONResponse);
}