diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-08-29 23:39:35 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2020-09-27 15:35:31 +0200 |
commit | d00d1ab2a28f428223e52b17052c072c64784016 (patch) | |
tree | c019f85fb7ac67147dd43ca64b4ac3cda99832f7 /tests/Unit/Db/FolderTest.php | |
parent | 5687baca75d47dbdffd3de74e865ad2f71ef0cb7 (diff) |
Create V2 mapper, Service and management commands
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'tests/Unit/Db/FolderTest.php')
-rw-r--r-- | tests/Unit/Db/FolderTest.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/Unit/Db/FolderTest.php b/tests/Unit/Db/FolderTest.php index a3445ea2e..7fdb1ae07 100644 --- a/tests/Unit/Db/FolderTest.php +++ b/tests/Unit/Db/FolderTest.php @@ -20,7 +20,7 @@ class FolderTest extends TestCase { - public function testToAPI() + public function testToAPI() { $folder = new Folder(); $folder->setId(3); @@ -28,14 +28,15 @@ class FolderTest extends TestCase $this->assertEquals( [ - 'id' => 3, - 'name' => 'name' + 'id' => 3, + 'name' => 'name', + 'feeds' => [], ], $folder->toAPI() ); } - public function testSerialize() + public function testSerialize() { $folder = new Folder(); $folder->setId(3); |