$this->assertGreaterThan(1, $body = $crawler->filter('body')->extract(['_text']));
$this->assertContains('flashes.import.notice.summary', $body[0]);
+
+ $this->assertEmpty($content->getMimetype());
+ $this->assertEmpty($content->getPreviewPicture());
+ $this->assertEmpty($content->getLanguage());
+ $this->assertEquals(1, count($content->getTags()));
+ $this->assertInstanceOf(\DateTime::class, $content->getCreatedAt());
}
public function testImportWallabagWithFileAndMarkAllAsRead()