aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php')
-rw-r--r--tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php b/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php
index c1025b41..ff1bf6f0 100644
--- a/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php
+++ b/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php
@@ -56,6 +56,12 @@ class WallabagV1ControllerTest extends WallabagCoreTestCase
56 56
57 $this->assertGreaterThan(1, $body = $crawler->filter('body')->extract(['_text'])); 57 $this->assertGreaterThan(1, $body = $crawler->filter('body')->extract(['_text']));
58 $this->assertContains('flashes.import.notice.summary', $body[0]); 58 $this->assertContains('flashes.import.notice.summary', $body[0]);
59
60 $this->assertEmpty($content->getMimetype());
61 $this->assertEmpty($content->getPreviewPicture());
62 $this->assertEmpty($content->getLanguage());
63 $this->assertEquals(1, count($content->getTags()));
64 $this->assertInstanceOf(\DateTime::class, $content->getCreatedAt());
59 } 65 }
60 66
61 public function testImportWallabagWithFileAndMarkAllAsRead() 67 public function testImportWallabagWithFileAndMarkAllAsRead()