diff options
Diffstat (limited to 'tests/lib/Security/RemoteHostValidatorTest.php')
-rw-r--r-- | tests/lib/Security/RemoteHostValidatorTest.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/lib/Security/RemoteHostValidatorTest.php b/tests/lib/Security/RemoteHostValidatorTest.php index 46c969d28c1..b048b9dafd1 100644 --- a/tests/lib/Security/RemoteHostValidatorTest.php +++ b/tests/lib/Security/RemoteHostValidatorTest.php @@ -51,9 +51,7 @@ class RemoteHostValidatorTest extends TestCase { ]; } - /** - * @dataProvider dataValid - */ + #[\PHPUnit\Framework\Attributes\DataProvider('dataValid')] public function testValid(string $host, bool $expected): void { $this->hostnameClassifier ->method('isLocalHostname') |