Fix registration.submit test

This commit is contained in:
Jeremy Benoist 2017-01-10 18:50:45 +01:00
parent 3d71d40349
commit 72e634b06c
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C

View 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());
}
}