aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2016-11-18 09:21:27 +0100
committerGitHub <noreply@github.com>2016-11-18 09:21:27 +0100
commitb060fbdfe763bf4fa2b17d43bccc6751cefd0d2c (patch)
tree0a350a62cf20a0bfa2dee1291d94597e87a4e6c7 /tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php
parentc15d5a3af8091e55d4d9ad29b53a7293ea87288f (diff)
parent5cc367b83aceea4bc5ac2f18a29cd737a4fce09e (diff)
downloadwallabag-b060fbdfe763bf4fa2b17d43bccc6751cefd0d2c.tar.gz
wallabag-b060fbdfe763bf4fa2b17d43bccc6751cefd0d2c.tar.zst
wallabag-b060fbdfe763bf4fa2b17d43bccc6751cefd0d2c.zip
Merge pull request #2593 from wallabag/test-clarify
Put log in the most common failure tests
Diffstat (limited to 'tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php')
-rw-r--r--tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php b/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php
index 3497c4b8..2c370ed9 100644
--- a/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php
+++ b/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php
@@ -126,9 +126,9 @@ class WallabagV1ControllerTest extends WallabagCoreTestCase
126 $this->assertGreaterThan(1, $body = $crawler->filter('body')->extract(['_text'])); 126 $this->assertGreaterThan(1, $body = $crawler->filter('body')->extract(['_text']));
127 $this->assertContains('flashes.import.notice.summary', $body[0]); 127 $this->assertContains('flashes.import.notice.summary', $body[0]);
128 128
129 $this->assertEmpty($content->getMimetype()); 129 $this->assertEmpty($content->getMimetype(), 'Mimetype for http://www.framablog.org is ok');
130 $this->assertEmpty($content->getPreviewPicture()); 130 $this->assertEmpty($content->getPreviewPicture(), 'Preview picture for http://www.framablog.org is ok');
131 $this->assertEmpty($content->getLanguage()); 131 $this->assertEmpty($content->getLanguage(), 'Language for http://www.framablog.org is ok');
132 $this->assertEquals(1, count($content->getTags())); 132 $this->assertEquals(1, count($content->getTags()));
133 $this->assertInstanceOf(\DateTime::class, $content->getCreatedAt()); 133 $this->assertInstanceOf(\DateTime::class, $content->getCreatedAt());
134 } 134 }