summaryrefslogtreecommitdiffstats
path: root/tests/unit/businesslayer
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/businesslayer')
-rw-r--r--tests/unit/businesslayer/BusinessLayerTest.php2
-rw-r--r--tests/unit/businesslayer/ItemBusinessLayerTest.php3
2 files changed, 2 insertions, 3 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();
}