summaryrefslogtreecommitdiffstats
path: root/tests/unit/db/postgres/ItemMapperTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/db/postgres/ItemMapperTest.php')
-rw-r--r--tests/unit/db/postgres/ItemMapperTest.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/unit/db/postgres/ItemMapperTest.php b/tests/unit/db/postgres/ItemMapperTest.php
index 8677d8784..719721fa4 100644
--- a/tests/unit/db/postgres/ItemMapperTest.php
+++ b/tests/unit/db/postgres/ItemMapperTest.php
@@ -85,15 +85,6 @@ class ItemMapperTest extends \OCA\News\Utility\MapperTestUtility {
'ORDER BY `items`.`id` DESC';
}
- private function makeSelectQueryStatus($prependTo, $status) {
- $status = (int) $status;
-
- return $this->makeSelectQuery(
- 'AND ((`items`.`status` & ' . $status . ') = ' . $status . ') ' .
- $prependTo
- );
- }
-
public function testDeleteReadOlderThanThresholdDoesNotDeleteBelowThreshold(){
$status = StatusFlag::STARRED | StatusFlag::UNREAD;