Merge pull request #3143 from wallabag/fix-wllbg2-import

Fixed is_starred for wallabag v2 import
This commit is contained in:
Nicolas Lœuillet
2017-05-31 09:08:34 +02:00
committed by GitHub
3 changed files with 4 additions and 3 deletions

View File

@ -138,6 +138,7 @@ class WallabagV2ControllerTest extends WallabagCoreTestCase
$this->assertEquals(3, count($content->getTags()));
$this->assertInstanceOf(\DateTime::class, $content->getCreatedAt());
$this->assertEquals('2016-09-08', $content->getCreatedAt()->format('Y-m-d'));
$this->assertTrue($content->isStarred(), 'Entry is starred');
}
public function testImportWallabagWithEmptyFile()

File diff suppressed because one or more lines are too long