mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 06:14:59 +00:00
Fix tests on person's controller
This commit is contained in:
@@ -71,9 +71,8 @@ final class PersonControllerViewTest extends WebTestCase
|
||||
]);
|
||||
|
||||
$crawler = $client->request('GET', $this->viewUrl);
|
||||
$response = $client->getResponse();
|
||||
|
||||
$this->assertTrue($response->isSuccessful());
|
||||
self::assertResponseIsSuccessful();
|
||||
|
||||
$this->assertGreaterThan(0, $crawler->filter('html:contains("TESTED PERSON")')->count());
|
||||
$this->assertGreaterThan(0, $crawler->filter('html:contains("Réginald")')->count());
|
||||
|
Reference in New Issue
Block a user