summaryrefslogtreecommitdiffstats
path: root/tests/Integration/Db/ItemMapperTest.php
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2020-11-14 00:09:38 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2020-12-08 13:58:12 +0100
commit8abddeab4f541883721d912f97dec07bffdfc6b8 (patch)
tree8c176f9ca2fd9e757807481997f265212f154eb2 /tests/Integration/Db/ItemMapperTest.php
parent3d98707be95322d16f5883d7a945d658d6316146 (diff)
Remove usage of old Folder code
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'tests/Integration/Db/ItemMapperTest.php')
-rw-r--r--tests/Integration/Db/ItemMapperTest.php32
1 files changed, 0 insertions, 32 deletions
diff --git a/tests/Integration/Db/ItemMapperTest.php b/tests/Integration/Db/ItemMapperTest.php
index 28a6c3e11..ea7f306df 100644
--- a/tests/Integration/Db/ItemMapperTest.php
+++ b/tests/Integration/Db/ItemMapperTest.php
@@ -150,38 +150,6 @@ class ItemMapperTest extends IntegrationTest
}
- public function testReadFolder()
- {
- $this->loadFixtures('default');
-
- $folderId = $this->findFolderByName('first folder')->getId();
- $this->itemMapper->readFolder(
- $folderId, PHP_INT_MAX, 10, $this->user
- );
-
- $items = $this->itemMapper->findAllItems(
- 30, 0, 0, false, false, $this->user
- );
-
- $this->assertEquals(1, count($items));
-
- $item = $this->findItemByTitle('a title1');
- $item = $this->itemMapper->find($this->user, $item->getId());
-
- $this->assertEquals(10, $item->getLastModified());
-
- $item = $this->findItemByTitle('a title3');
- $item = $this->itemMapper->find($this->user, $item->getId());
-
- $this->assertEquals(10, $item->getLastModified());
-
- $item = $this->findItemByTitle('a title9');
- $item = $this->itemMapper->find($this->user, $item->getId());
-
- $this->assertTrue($item->isUnread());
- }
-
-
public function testReadFeed()
{
$this->loadFixtures('default');