aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Core/Command/Config/System/CastHelperTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Core/Command/Config/System/CastHelperTest.php')
-rw-r--r--tests/Core/Command/Config/System/CastHelperTest.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/Core/Command/Config/System/CastHelperTest.php b/tests/Core/Command/Config/System/CastHelperTest.php
index e31f74b4a55..924887daaf7 100644
--- a/tests/Core/Command/Config/System/CastHelperTest.php
+++ b/tests/Core/Command/Config/System/CastHelperTest.php
@@ -37,9 +37,7 @@ class CastHelperTest extends TestCase {
];
}
- /**
- * @dataProvider castValueProvider
- */
+ #[\PHPUnit\Framework\Attributes\DataProvider('castValueProvider')]
public function testCastValue($value, $type, $expectedValue): void {
$this->assertSame(
$expectedValue,
@@ -59,9 +57,7 @@ class CastHelperTest extends TestCase {
];
}
- /**
- * @dataProvider castValueInvalidProvider
- */
+ #[\PHPUnit\Framework\Attributes\DataProvider('castValueInvalidProvider')]
public function testCastValueInvalid($value, $type): void {
$this->expectException(\InvalidArgumentException::class);