Added tags for Firefox import

This commit is contained in:
Nicolas Lœuillet 2016-09-26 13:40:10 +02:00
parent 990adfb34c
commit fefef9d41b
No known key found for this signature in database
GPG key ID: 5656BE27E1E34D0A
2 changed files with 2 additions and 1 deletions

View file

@ -120,7 +120,7 @@ class FirefoxControllerTest extends WallabagCoreTestCase
$this->assertNotEmpty($content->getMimetype());
$this->assertNotEmpty($content->getPreviewPicture());
$this->assertNotEmpty($content->getLanguage());
$this->assertEquals(0, count($content->getTags()));
$this->assertEquals(2, count($content->getTags()));
$content = $client->getContainer()
->get('doctrine.orm.entity_manager')

View file

@ -32,6 +32,7 @@
"index": 1,
"dateAdded": 1388166091644000,
"lastModified": 1388166091644000,
"tags":"test,tag",
"id": 4,
"type": "text/x-moz-place",
"uri": "http://lexpansion.lexpress.fr/high-tech/orange-offre-un-meilleur-reseau-mobile-que-bouygues-et-sfr-free-derriere_1811554.html"