diff options
Diffstat (limited to 'tests/unit/db/ItemMapperTest.php')
-rw-r--r-- | tests/unit/db/ItemMapperTest.php | 4 |
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); |