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/ApiControllerTest.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/ApiControllerTest.php')
-rw-r--r-- | tests/unit/controller/ApiControllerTest.php | 4 |
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); } |