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

@@ -43,7 +43,7 @@ final class ReportSearchTest extends WebTestCase
]);
$this->assertTrue($client->getResponse()->isSuccessful());
$this->assertRegExp('/Situation de logement/i', $crawler->text());
$this->assertMatchesRegularExpression('/Situation de logement/i', $crawler->text());
}
public function testSearchDoubleDate()
@@ -77,7 +77,7 @@ final class ReportSearchTest extends WebTestCase
]);
$this->assertTrue($client->getResponse()->isSuccessful());
$this->assertRegExp('/Situation de logement/i', $crawler->text());
$this->assertMatchesRegularExpression('/Situation de logement/i', $crawler->text());
}
/**