diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-09-02 15:46:37 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-09-02 15:46:37 +0200 |
commit | 01e4a7a82429079a222972c907d02f9eb04a9e93 (patch) | |
tree | 6bad731bcd687f4686f6b4f0b8802bb7738f2f24 /tests | |
parent | 479d5e2e377e9c5daaea3359f84b563ac3ca5825 (diff) |
fix updater cleanup route
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/external/NewsAPITest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/external/NewsAPITest.php b/tests/unit/external/NewsAPITest.php index 9a319a378..116418fc6 100644 --- a/tests/unit/external/NewsAPITest.php +++ b/tests/unit/external/NewsAPITest.php @@ -88,7 +88,8 @@ class NewsAPITest extends ControllerTestUtility { public function testCleanUp(){ $this->updater->expects($this->once()) ->method('cleanUp'); - $this->newsAPI->cleanUp(); + $response = $this->newsAPI->cleanUp(); + $this->assertTrue($response instanceof JSONResponse); } |