diff options
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/businesslayer/BusinessLayerTest.php | 2 | ||||
-rw-r--r-- | tests/unit/businesslayer/ItemBusinessLayerTest.php | 3 | ||||
-rw-r--r-- | tests/unit/db/ItemMapperTest.php | 2 | ||||
-rw-r--r-- | tests/unit/db/postgres/ItemMapperTest.php | 2 |
4 files changed, 4 insertions, 5 deletions
diff --git a/tests/unit/businesslayer/BusinessLayerTest.php b/tests/unit/businesslayer/BusinessLayerTest.php index e55badcf2..e6695f47f 100644 --- a/tests/unit/businesslayer/BusinessLayerTest.php +++ b/tests/unit/businesslayer/BusinessLayerTest.php @@ -54,7 +54,7 @@ class BusinessLayerTest extends \PHPUnit_Framework_TestCase { ->with($this->equalTo($id), $this->equalTo($user)) ->will($this->returnValue($folder)); - $result = $this->newsBusinessLayer->delete($id, $user); + $this->newsBusinessLayer->delete($id, $user); } diff --git a/tests/unit/businesslayer/ItemBusinessLayerTest.php b/tests/unit/businesslayer/ItemBusinessLayerTest.php index 7ad3dc16e..96faee440 100644 --- a/tests/unit/businesslayer/ItemBusinessLayerTest.php +++ b/tests/unit/businesslayer/ItemBusinessLayerTest.php @@ -296,8 +296,7 @@ class ItemBusinessLayerTest extends \PHPUnit_Framework_TestCase { ->method('deleteReadOlderThanThreshold') ->with($this->equalTo($this->threshold)); - $result = $this->itemBusinessLayer->autoPurgeOld(); - + $this->itemBusinessLayer->autoPurgeOld(); } diff --git a/tests/unit/db/ItemMapperTest.php b/tests/unit/db/ItemMapperTest.php index 35b371526..bddf8cd28 100644 --- a/tests/unit/db/ItemMapperTest.php +++ b/tests/unit/db/ItemMapperTest.php @@ -359,7 +359,7 @@ class ItemMapperTest extends \OCA\News\Utility\MapperTestUtility { $this->setMapperResult($sql1, $params1, array($row)); $this->setMapperResult($sql2, $params2); - $result = $this->mapper->deleteReadOlderThanThreshold($threshold); + $this->mapper->deleteReadOlderThanThreshold($threshold); } diff --git a/tests/unit/db/postgres/ItemMapperTest.php b/tests/unit/db/postgres/ItemMapperTest.php index 796a59f5f..8677d8784 100644 --- a/tests/unit/db/postgres/ItemMapperTest.php +++ b/tests/unit/db/postgres/ItemMapperTest.php @@ -148,7 +148,7 @@ class ItemMapperTest extends \OCA\News\Utility\MapperTestUtility { $this->setMapperResult($sql1, $params1, array($row)); $this->setMapperResult($sql2, $params2); - $result = $this->mapper->deleteReadOlderThanThreshold($threshold); + $this->mapper->deleteReadOlderThanThreshold($threshold); } |