diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-21 21:08:54 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-21 21:08:54 +0100 |
commit | a10b775b95d6e7a25d3cf3bb5f8c633f7f1a63f5 (patch) | |
tree | 95de7c0ac38178e08192fc8ff92596f2108770a4 | |
parent | c8bdd9c3fb0ab872b868c151f052748235601653 (diff) |
fixed itemmapper test
-rw-r--r-- | controller/feedcontroller.php | 1 | ||||
-rw-r--r-- | tests/db/ItemMapperTest.php | 2 |
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); } // |