diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-05-30 20:15:41 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-05-30 20:27:44 +0200 |
commit | 047fdc767aed03a92f37273eae2206f3d61fedc5 (patch) | |
tree | 80a042c66e8a16f537c279a847a84ab937c240f1 /tests/Wallabag/ImportBundle/Controller | |
parent | 4c707d087b9989d6cd2f21d3141eca1fe9c3f969 (diff) | |
download | wallabag-047fdc767aed03a92f37273eae2206f3d61fedc5.tar.gz wallabag-047fdc767aed03a92f37273eae2206f3d61fedc5.tar.zst wallabag-047fdc767aed03a92f37273eae2206f3d61fedc5.zip |
Add tests
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() |