aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php')
-rw-r--r--tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php b/tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php
index 2de0aa09..10fbc225 100644
--- a/tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php
+++ b/tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php
@@ -133,6 +133,10 @@ class FirefoxControllerTest extends WallabagCoreTestCase
133 $this->assertNotEmpty($content->getMimetype()); 133 $this->assertNotEmpty($content->getMimetype());
134 $this->assertNotEmpty($content->getPreviewPicture()); 134 $this->assertNotEmpty($content->getPreviewPicture());
135 $this->assertEmpty($content->getLanguage()); 135 $this->assertEmpty($content->getLanguage());
136
137 $createdAt = $content->getCreatedAt();
138 $this->assertEquals('2011', $createdAt->format('Y'));
139 $this->assertEquals('07', $createdAt->format('m'));
136 } 140 }
137 141
138 public function testImportWallabagWithEmptyFile() 142 public function testImportWallabagWithEmptyFile()