1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Fix bad date format in Browser import

This commit is contained in:
Jeremy Benoist 2016-09-25 15:29:40 +02:00
parent f0fd82d039
commit 27acc6ddb8
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
5 changed files with 31 additions and 62 deletions

View file

@ -133,6 +133,10 @@ class FirefoxControllerTest extends WallabagCoreTestCase
$this->assertNotEmpty($content->getMimetype());
$this->assertNotEmpty($content->getPreviewPicture());
$this->assertEmpty($content->getLanguage());
$createdAt = $content->getCreatedAt();
$this->assertEquals('2011', $createdAt->format('Y'));
$this->assertEquals('07', $createdAt->format('m'));
}
public function testImportWallabagWithEmptyFile()