tests: Get rid of PHPUnit deprecations.

This commit is contained in:
Pol Dellaiera
2022-01-04 16:29:49 +01:00
parent 6ebcd87508
commit e2ad590310
17 changed files with 54 additions and 57 deletions

View File

@@ -72,6 +72,6 @@ final class CenterControllerTest extends WebTestCase
$crawler = $client->request('GET', '/fr/admin/center/');
// Check the entity has been delete on the list
$this->assertRegExp('/Foo/', $client->getResponse()->getContent());
$this->assertMatchesRegularExpression('/Foo/', $client->getResponse()->getContent());
}
}