X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FImportBundle%2FTests%2FController%2FWallabagV2ControllerTest.php;h=490f9edeac834a38903eb178ed57c14d1e1c748d;hb=8f336fda649c064cabfa692793334067ece780f9;hp=bcbd6305774632b9cb0e5e1587a3965ea01f9841;hpb=4d0ec0e72108ff47952906e5d968a7c3eb0a76f9;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/ImportBundle/Tests/Controller/WallabagV2ControllerTest.php b/src/Wallabag/ImportBundle/Tests/Controller/WallabagV2ControllerTest.php index bcbd6305..490f9ede 100644 --- a/src/Wallabag/ImportBundle/Tests/Controller/WallabagV2ControllerTest.php +++ b/src/Wallabag/ImportBundle/Tests/Controller/WallabagV2ControllerTest.php @@ -53,6 +53,7 @@ class WallabagV2ControllerTest extends WallabagCoreTestCase $this->assertEmpty($content->getMimetype()); $this->assertEmpty($content->getPreviewPicture()); $this->assertEmpty($content->getLanguage()); + $this->assertEquals(0, count($content->getTags())); $content = $client->getContainer() ->get('doctrine.orm.entity_manager') @@ -65,6 +66,7 @@ class WallabagV2ControllerTest extends WallabagCoreTestCase $this->assertNotEmpty($content->getMimetype()); $this->assertNotEmpty($content->getPreviewPicture()); $this->assertNotEmpty($content->getLanguage()); + $this->assertEquals(2, count($content->getTags())); } public function testImportWallabagWithEmptyFile()