From 72e634b06ce2159e314cb095d5682b95101f2d56 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Tue, 10 Jan 2017 18:50:45 +0100 Subject: [PATCH 1/1] Fix registration.submit test --- tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $client->followRedirects(); $crawler = $client->request('GET', '/register'); - $this->assertContains('registration.submit', $crawler->filter('body')->extract(['_text'])[0]); + $this->assertContains('registration.submit', $client->getResponse()->getContent()); } } -- 2.41.0