[tests] Fix pre-existing tests (preview now imported + records added)

This commit is contained in:
nicofrand 2019-05-21 20:10:57 +02:00
parent 715fabf8f2
commit d99e6423f4
2 changed files with 2 additions and 2 deletions

View file

@ -499,7 +499,7 @@ class ContentProxyTest extends TestCase
$records = $handler->getRecords();
$this->assertCount(1, $records);
$this->assertCount(3, $records);
$this->assertContains('Error while defining date', $records[0]['message']);
}

View file

@ -121,7 +121,7 @@ class WallabagV1ControllerTest extends WallabagCoreTestCase
$this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content);
$this->assertEmpty($content->getMimetype(), 'Mimetype for http://www.framablog.org is empty');
$this->assertEmpty($content->getPreviewPicture(), 'Preview picture for http://www.framablog.org is empty');
$this->assertSame($content->getPreviewPicture(), 'http://www.framablog.org/public/_img/framablog/wallaby_baby.jpg');
$this->assertEmpty($content->getLanguage(), 'Language for http://www.framablog.org is empty');
$tags = $content->getTags();