summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--controller/feedcontroller.php1
-rw-r--r--tests/db/ItemMapperTest.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/controller/feedcontroller.php b/controller/feedcontroller.php
index d91c52aa3..4f7233b9f 100644
--- a/controller/feedcontroller.php
+++ b/controller/feedcontroller.php
@@ -34,6 +34,7 @@ use \OCA\AppFramework\Db\MultipleObjectsReturnedException;
use \OCA\News\Bl\FeedBl;
use \OCA\News\Bl\BLException;
+
class FeedController extends Controller {
private $feedBl;
diff --git a/tests/db/ItemMapperTest.php b/tests/db/ItemMapperTest.php
index f8db1da70..82b5b2faf 100644
--- a/tests/db/ItemMapperTest.php
+++ b/tests/db/ItemMapperTest.php
@@ -73,7 +73,7 @@ class ItemMapperTest extends \OCA\AppFramework\Utility\MapperTestUtility {
$this->setMapperResult($sql, array($this->id, $this->userId), $this->row);
$result = $this->itemMapper->find($this->id, $this->userId);
- $this->assertEquals($this->items, $result);
+ $this->assertEquals($this->items[0], $result);
}
//