diff options
author | bastei <bastei@users.noreply.github.com> | 2013-09-05 02:34:45 +0200 |
---|---|---|
committer | bastei <bastei@users.noreply.github.com> | 2013-09-05 02:34:45 +0200 |
commit | 99ba6461928e7d8bbe421eca3c0bf3446bb9df62 (patch) | |
tree | 63439791ba8d6c0962024cdcf43c99cf21c19d11 /tests | |
parent | 3c98e6423b8f7c6f42728cc32422c197db7e6767 (diff) |
deleteReadOlderThanThreshold unit test fix
Diffstat (limited to 'tests')
-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 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) ' . |