mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
tests: Get rid of PHPUnit deprecations.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user