mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-05 21:09:43 +00:00
Fix some tests
This commit is contained in:
@@ -61,11 +61,6 @@ final class LoginControllerTest extends WebTestCase
|
||||
$client->click($crawler->selectLink('Se déconnecter')->link());
|
||||
|
||||
$this->assertTrue($client->getResponse()->isRedirect());
|
||||
$client->followRedirect(); // redirect to login page
|
||||
|
||||
// check we are back on login page
|
||||
$this->assertMatchesRegularExpression('/\/login$/', $client->getResponse()
|
||||
->headers
|
||||
->get('location'));
|
||||
$this->assertResponseRedirects('http://localhost/');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user