diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-01-10 18:50:45 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-01-10 18:50:45 +0100 |
commit | 72e634b06ce2159e314cb095d5682b95101f2d56 (patch) | |
tree | a4e5cf8576d9f0787a33f1aea8bc0732be43fed7 /tests | |
parent | 3d71d40349897fe7293f7a0be86cecfe1141c61b (diff) | |
download | wallabag-72e634b06ce2159e314cb095d5682b95101f2d56.tar.gz wallabag-72e634b06ce2159e314cb095d5682b95101f2d56.tar.zst wallabag-72e634b06ce2159e314cb095d5682b95101f2d56.zip |
Fix registration.submit test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php | 2 |
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 | } |