From 99ba6461928e7d8bbe421eca3c0bf3446bb9df62 Mon Sep 17 00:00:00 2001 From: bastei Date: Thu, 5 Sep 2013 02:34:45 +0200 Subject: deleteReadOlderThanThreshold unit test fix --- tests/unit/db/ItemMapperTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/unit/db/ItemMapperTest.php') diff --git a/tests/unit/db/ItemMapperTest.php b/tests/unit/db/ItemMapperTest.php index de6edeba6..fe1de517a 100644 --- a/tests/unit/db/ItemMapperTest.php +++ b/tests/unit/db/ItemMapperTest.php @@ -320,7 +320,7 @@ class ItemMapperTest extends \OCA\AppFramework\Utility\MapperTestUtility { 'HAVING COUNT(*) > ?'; $threshold = 10; - $rows = array(array('feed_id' => 30, 'size' => 11)); + $rows = array(array('feed_id' => 30, 'size' => 9)); $params = array($status, $threshold); $this->setMapperResult($sql, $params, $rows); @@ -340,7 +340,7 @@ class ItemMapperTest extends \OCA\AppFramework\Utility\MapperTestUtility { $params1 = array($status, $threshold); - $row = array('feed_id' => 30, 'size' => 9); + $row = array('feed_id' => 30, 'size' => 11); $sql2 = 'DELETE FROM `*PREFIX*news_items` `items` ' . 'WHERE NOT ((`status` & ?) > 0) ' . -- cgit v1.2.3