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
@@ -30,9 +30,7 @@ class PersonalDataVerificationRequiredCheckTest extends TestCase
|
||||
$this->assertTrue($this->createCheck()->appliesTo($user));
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider mixedRoleProvider
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('mixedRoleProvider')]
|
||||
public function testDoesNotApplyToExcludedMixedRoleUsersWithTeamerRole(string $excludedRole): void
|
||||
{
|
||||
$user = (new User())->setRoles([$excludedRole, 'ROLE_TEAMER']);
|
||||
@@ -40,7 +38,7 @@ class PersonalDataVerificationRequiredCheckTest extends TestCase
|
||||
$this->assertFalse($this->createCheck()->appliesTo($user));
|
||||
}
|
||||
|
||||
public function mixedRoleProvider(): array
|
||||
public static function mixedRoleProvider(): array
|
||||
{
|
||||
return [
|
||||
['ROLE_TEAM_ADMIN'],
|
||||
|
||||
Reference in new issue
Block a user