diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-05-31 09:08:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-31 09:08:34 +0200 |
commit | 7aa5607f297d5ef188d06cc3f808f9ff5bda83b2 (patch) | |
tree | 54dd8a5adbecfefca53a73ccb51c73b8b3cd48d0 /tests/Wallabag/ImportBundle/Controller | |
parent | 2150576d86709968faec3ed7b8cdc576c0200ae2 (diff) | |
parent | 047fdc767aed03a92f37273eae2206f3d61fedc5 (diff) | |
download | wallabag-7aa5607f297d5ef188d06cc3f808f9ff5bda83b2.tar.gz wallabag-7aa5607f297d5ef188d06cc3f808f9ff5bda83b2.tar.zst wallabag-7aa5607f297d5ef188d06cc3f808f9ff5bda83b2.zip |
Merge pull request #3143 from wallabag/fix-wllbg2-import
Fixed is_starred for wallabag v2 import
Diffstat (limited to 'tests/Wallabag/ImportBundle/Controller')
-rw-r--r-- | tests/Wallabag/ImportBundle/Controller/WallabagV2ControllerTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Wallabag/ImportBundle/Controller/WallabagV2ControllerTest.php b/tests/Wallabag/ImportBundle/Controller/WallabagV2ControllerTest.php index 556ab1bd..335115fe 100644 --- a/tests/Wallabag/ImportBundle/Controller/WallabagV2ControllerTest.php +++ b/tests/Wallabag/ImportBundle/Controller/WallabagV2ControllerTest.php | |||
@@ -138,6 +138,7 @@ class WallabagV2ControllerTest extends WallabagCoreTestCase | |||
138 | $this->assertEquals(3, count($content->getTags())); | 138 | $this->assertEquals(3, count($content->getTags())); |
139 | $this->assertInstanceOf(\DateTime::class, $content->getCreatedAt()); | 139 | $this->assertInstanceOf(\DateTime::class, $content->getCreatedAt()); |
140 | $this->assertEquals('2016-09-08', $content->getCreatedAt()->format('Y-m-d')); | 140 | $this->assertEquals('2016-09-08', $content->getCreatedAt()->format('Y-m-d')); |
141 | $this->assertTrue($content->isStarred(), 'Entry is starred'); | ||
141 | } | 142 | } |
142 | 143 | ||
143 | public function testImportWallabagWithEmptyFile() | 144 | public function testImportWallabagWithEmptyFile() |