aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Security/Normalizer
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Security/Normalizer')
-rw-r--r--tests/lib/Security/Normalizer/IpAddressTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Security/Normalizer/IpAddressTest.php b/tests/lib/Security/Normalizer/IpAddressTest.php
index 29067596c98..f7adfb4a0dd 100644
--- a/tests/lib/Security/Normalizer/IpAddressTest.php
+++ b/tests/lib/Security/Normalizer/IpAddressTest.php
@@ -55,11 +55,11 @@ class IpAddressTest extends TestCase {
}
/**
- * @dataProvider subnetDataProvider
*
* @param string $input
* @param string $expected
*/
+ #[\PHPUnit\Framework\Attributes\DataProvider('subnetDataProvider')]
public function testGetSubnet($input, $expected): void {
$this->assertSame($expected, (new IpAddress($input))->getSubnet());
}