]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fix registration.submit test
authorJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 10 Jan 2017 17:50:45 +0000 (18:50 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 10 Jan 2017 17:50:45 +0000 (18:50 +0100)
tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php

index 08f4676ed010d2b3db60410c6bbc4fe4a057dff4..2cf596d46734eb43b8ecd327a61611ceff039a50 100644 (file)
@@ -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());
     }
 }