aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ImportBundle
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Wallabag/ImportBundle')
-rw-r--r--tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php2
-rw-r--r--tests/Wallabag/ImportBundle/fixtures/firefox-bookmarks.json1
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php b/tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php
index dea5b79c..98f13d72 100644
--- a/tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php
+++ b/tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php
@@ -120,7 +120,7 @@ class FirefoxControllerTest extends WallabagCoreTestCase
120 $this->assertNotEmpty($content->getMimetype()); 120 $this->assertNotEmpty($content->getMimetype());
121 $this->assertNotEmpty($content->getPreviewPicture()); 121 $this->assertNotEmpty($content->getPreviewPicture());
122 $this->assertNotEmpty($content->getLanguage()); 122 $this->assertNotEmpty($content->getLanguage());
123 $this->assertEquals(0, count($content->getTags())); 123 $this->assertEquals(2, count($content->getTags()));
124 124
125 $content = $client->getContainer() 125 $content = $client->getContainer()
126 ->get('doctrine.orm.entity_manager') 126 ->get('doctrine.orm.entity_manager')
diff --git a/tests/Wallabag/ImportBundle/fixtures/firefox-bookmarks.json b/tests/Wallabag/ImportBundle/fixtures/firefox-bookmarks.json
index ee06a16c..406b5697 100644
--- a/tests/Wallabag/ImportBundle/fixtures/firefox-bookmarks.json
+++ b/tests/Wallabag/ImportBundle/fixtures/firefox-bookmarks.json
@@ -32,6 +32,7 @@
32 "index": 1, 32 "index": 1,
33 "dateAdded": 1388166091644000, 33 "dateAdded": 1388166091644000,
34 "lastModified": 1388166091644000, 34 "lastModified": 1388166091644000,
35 "tags":"test,tag",
35 "id": 4, 36 "id": 4,
36 "type": "text/x-moz-place", 37 "type": "text/x-moz-place",
37 "uri": "http://lexpansion.lexpress.fr/high-tech/orange-offre-un-meilleur-reseau-mobile-que-bouygues-et-sfr-free-derriere_1811554.html" 38 "uri": "http://lexpansion.lexpress.fr/high-tech/orange-offre-un-meilleur-reseau-mobile-que-bouygues-et-sfr-free-derriere_1811554.html"