tests/ChillPersonBundle: use type casting

This commit is contained in:
Christophe Siraut 2021-04-27 14:59:35 +02:00
parent b43f43fa0b
commit e3cc76c689

View File

@ -137,7 +137,7 @@ class PersonControllerCreateTest extends WebTestCase
$client = $this->client;
$client->submit($form);
$this->assertTrue($client->getResponse()->isRedirect(),
$this->assertTrue((bool)$client->getResponse()->isRedirect(),
"a valid form redirect to url /{_locale}/person/{personId}/general/edit");
$client->followRedirect();