aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/OCS/ApiHelperTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/OCS/ApiHelperTest.php')
-rw-r--r--tests/lib/OCS/ApiHelperTest.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/lib/OCS/ApiHelperTest.php b/tests/lib/OCS/ApiHelperTest.php
index 93de6b22af7..334fca7169e 100644
--- a/tests/lib/OCS/ApiHelperTest.php
+++ b/tests/lib/OCS/ApiHelperTest.php
@@ -34,9 +34,7 @@ class ApiHelperTest extends \Test\TestCase {
];
}
- /**
- * @dataProvider versionDataScriptNameProvider
- */
+ #[\PHPUnit\Framework\Attributes\DataProvider('versionDataScriptNameProvider')]
public function testIsV2(string $scriptName, bool $expected): void {
$request = $this->getMockBuilder(IRequest::class)
->disableOriginalConstructor()