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
@@ -19,10 +19,7 @@ class DriverLicenseRequiredCheckTest extends TestCase
|
||||
$this->check = new DriverLicenseRequiredCheck();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @dataProvider mixedRoleProvider
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('mixedRoleProvider')]
|
||||
public function testDoesNotApplyToExcludedMixedRoleUsersWithTeamerRole(string $excludedRole): void
|
||||
{
|
||||
$user = $this->createTeamerUser();
|
||||
@@ -31,7 +28,7 @@ class DriverLicenseRequiredCheckTest extends TestCase
|
||||
$this->assertFalse($this->check->appliesTo($user));
|
||||
}
|
||||
|
||||
public function mixedRoleProvider(): array
|
||||
public static function mixedRoleProvider(): array
|
||||
{
|
||||
return [
|
||||
['ROLE_TEAM_ADMIN'],
|
||||
|
||||
Reference in new issue
Block a user