summaryrefslogtreecommitdiffstats
path: root/tests/unit/external/NewsAPITest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/external/NewsAPITest.php')
-rw-r--r--tests/unit/external/NewsAPITest.php3
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);
}