summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoranoy <anoymouserver+github@mailbox.org>2021-01-13 16:15:52 +0100
committeranoy <anoymouserver@users.noreply.github.com>2021-01-13 19:23:46 +0100
commit8b3516a9490ef1c3dd873121b5592a1ddde20328 (patch)
tree4a346a8d580232d56d53f2a7175d63ab6211a0e2 /tests
parentd5c47d7d698b6a9cd04de06956035036a9e9fe6e (diff)
fix opened state of folders is not restored
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/Db/FolderTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Unit/Db/FolderTest.php b/tests/Unit/Db/FolderTest.php
index 7fdb1ae07..8be6c793f 100644
--- a/tests/Unit/Db/FolderTest.php
+++ b/tests/Unit/Db/FolderTest.php
@@ -25,11 +25,13 @@ class FolderTest extends TestCase
$folder = new Folder();
$folder->setId(3);
$folder->setName('name');
+ $folder->setOpened(false);
$this->assertEquals(
[
'id' => 3,
'name' => 'name',
+ 'opened' => false,
'feeds' => [],
], $folder->toAPI()
);