Upgrade tests to PhpUnit 10 (#5252)

This commit is contained in:
Kevin Papst
2024-12-22 01:25:30 +01:00
committed by GitHub
parent 9bd37fb695
commit c7f0508707
377 changed files with 3308 additions and 3409 deletions

View File

@@ -20,7 +20,7 @@ class UserValidationTest extends KernelTestCase
{
use EntityValidationTestTrait;
public function getInvalidTestData()
public static function getInvalidTestData()
{
return [
['', ''],
@@ -69,7 +69,7 @@ class UserValidationTest extends KernelTestCase
$this->assertHasNoViolations($user, ['RolesUpdate']);
}
public function getValidTestData()
public static function getValidTestData()
{
return [
[str_pad('#', 8, '-'), 'test@x.x'], // shortest possible username