From c6a279128ea6483fb06e052d4e85fba75e9e7fe1 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Fri, 5 Apr 2013 16:06:04 +0200 Subject: fix #37 by fixing multiple, hard to track down typos --- tests/unit/db/ItemMapperTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/unit') 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); -- cgit v1.2.3