mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 11:01:04 +00:00
[tests] Fix pre-existing tests (preview now imported + records added)
This commit is contained in:
parent
715fabf8f2
commit
d99e6423f4
2 changed files with 2 additions and 2 deletions
|
@ -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']);
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue