summaryrefslogtreecommitdiffstats
path: root/tests/unit/db/ItemMapperTest.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-05 16:06:04 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-05 16:06:04 +0200
commitc6a279128ea6483fb06e052d4e85fba75e9e7fe1 (patch)
tree1700edcad069721f20b263d63d345b7c65b15b67 /tests/unit/db/ItemMapperTest.php
parent685ff350eb6c91fd8f48d31a4ba6a815d5f6e403 (diff)
fix #37 by fixing multiple, hard to track down typos
Diffstat (limited to 'tests/unit/db/ItemMapperTest.php')
-rw-r--r--tests/unit/db/ItemMapperTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/db/ItemMapperTest.php b/tests/unit/db/ItemMapperTest.php
index a4ed6e921..9446f4256 100644
--- a/tests/unit/db/ItemMapperTest.php
+++ b/tests/unit/db/ItemMapperTest.php
@@ -87,7 +87,7 @@ class ItemMapperTest extends \OCA\AppFramework\Utility\MapperTestUtility {
public function testFind(){
- $sql = $this->makeSelectQuery('AND `*PREFIX*news_items`.`id` = ? ');
+ $sql = $this->makeSelectQuery('AND `items`.`id` = ? ');
$this->setMapperResult($sql, array($this->userId, $this->id), $this->row);
@@ -260,7 +260,7 @@ class ItemMapperTest extends \OCA\AppFramework\Utility\MapperTestUtility {
$feedId = 3;
$sql = $this->makeSelectQuery(
'AND `items`.`guid_hash` = ? ' .
- 'AND `feed`.`id = ? ');
+ 'AND `feeds`.`id` = ? ');
$this->setMapperResult($sql, array($this->userId, $hash, $feedId), $this->row);