mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 10:05:03 +00:00
tests: Get rid of PHPUnit deprecations.
This commit is contained in:
@@ -111,7 +111,7 @@ final class PersonAddressControllerTest extends WebTestCase
|
||||
|
||||
$crawler = $this->client->followRedirect();
|
||||
|
||||
$this->assertRegexp(
|
||||
$this->assertMatchesRegularExpression(
|
||||
'|/fr/person/[0-9]{1,}/address/list|',
|
||||
$this->client->getHistory()->current()->getUri(),
|
||||
'assert that the current page is on |/fr/person/[0-9]{1,}/address/list|'
|
||||
@@ -169,7 +169,7 @@ final class PersonAddressControllerTest extends WebTestCase
|
||||
|
||||
$crawler = $this->client->followRedirect();
|
||||
|
||||
$this->assertRegexp(
|
||||
$this->assertMatchesRegularExpression(
|
||||
'|/fr/person/[0-9]{1,}/address/list|',
|
||||
$this->client->getHistory()->current()->getUri(),
|
||||
'assert that the current page is on |/fr/person/[0-9]{1,}/address/list|'
|
||||
|
Reference in New Issue
Block a user