chore: upgrade phpunit to 12.5
This commit is contained in:
1 parent
da039d0527
commit
849da8d471
53 files changed
+832
-856
No files matched your search
@@ -27,9 +27,7 @@ class DestinationDtoTest extends TestCase
|
||||
$this->assertSame(['at', 'ch', 'fr', 'it', 'de', 'nl'], DestinationDto::countryCodes());
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider isoCountryCodes
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('isoCountryCodes')]
|
||||
public function testAnIsoCountryCodeIsAccepted(string $code): void
|
||||
{
|
||||
$this->assertCount(0, $this->validateCountry($code));
|
||||
@@ -37,9 +35,8 @@ class DestinationDtoTest extends TestCase
|
||||
|
||||
/**
|
||||
* The four that the form offered and the constraint refused.
|
||||
*
|
||||
* @dataProvider busProNetCountryAbbreviations
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('busProNetCountryAbbreviations')]
|
||||
public function testABusProNetAbbreviationIsNoLongerAccepted(string $abbreviation): void
|
||||
{
|
||||
$this->assertCount(1, $this->validateCountry($abbreviation));
|
||||
|
||||
Reference in new issue
Block a user