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

@@ -66,7 +66,7 @@ final class ActivityReasonCategoryControllerTest extends WebTestCase
$crawler = $client->followRedirect();
// Check the entity has been delete on the list
$this->assertNotRegExp('/Foo/', $client->getResponse()->getContent());
$this->assertDoesNotMatchRegularExpression('/Foo/', $client->getResponse()->getContent());
}
*/