Put log in the most common failure tests

So we’ll quickly be able to see what kind of test is failing when viewing Travis
This commit is contained in:
Jeremy Benoist
2016-11-17 19:30:50 +01:00
parent 66336f6571
commit d8a35aba49
7 changed files with 26 additions and 26 deletions

View File

@ -126,9 +126,9 @@ class WallabagV1ControllerTest extends WallabagCoreTestCase
$this->assertGreaterThan(1, $body = $crawler->filter('body')->extract(['_text']));
$this->assertContains('flashes.import.notice.summary', $body[0]);
$this->assertEmpty($content->getMimetype());
$this->assertEmpty($content->getPreviewPicture());
$this->assertEmpty($content->getLanguage());
$this->assertEmpty($content->getMimetype(), 'Mimetype for http://www.framablog.org is ok');
$this->assertEmpty($content->getPreviewPicture(), 'Preview picture for http://www.framablog.org is ok');
$this->assertEmpty($content->getLanguage(), 'Language for http://www.framablog.org is ok');
$this->assertEquals(1, count($content->getTags()));
$this->assertInstanceOf(\DateTime::class, $content->getCreatedAt());
}