aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-01-10 21:25:27 +0100
committerGitHub <noreply@github.com>2017-01-10 21:25:27 +0100
commitb4d81c91de537370265c7a09b963cab49af629a8 (patch)
tree44d517cfb60cd24c72c7af8ba2130a3eabfa8cc5 /tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php
parente4ccd3effe8a5561d71d6c5f7c4bd1b23aa5a45b (diff)
parent1ff2e71c1c488f912b92e47ee261634e8bede4dc (diff)
downloadwallabag-b4d81c91de537370265c7a09b963cab49af629a8.tar.gz
wallabag-b4d81c91de537370265c7a09b963cab49af629a8.tar.zst
wallabag-b4d81c91de537370265c7a09b963cab49af629a8.zip
Merge pull request #2742 from wallabag/fix-og-image-false
Avoid false preview image
Diffstat (limited to 'tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php')
-rw-r--r--tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php b/tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php
index 08f4676e..2cf596d4 100644
--- a/tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php
+++ b/tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php
@@ -82,6 +82,6 @@ class SecurityControllerTest extends WallabagCoreTestCase
82 82
83 $client->followRedirects(); 83 $client->followRedirects();
84 $crawler = $client->request('GET', '/register'); 84 $crawler = $client->request('GET', '/register');
85 $this->assertContains('registration.submit', $crawler->filter('body')->extract(['_text'])[0]); 85 $this->assertContains('registration.submit', $client->getResponse()->getContent());
86 } 86 }
87} 87}