aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/App/PlatformRepositoryTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/App/PlatformRepositoryTest.php')
-rw-r--r--tests/lib/App/PlatformRepositoryTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/App/PlatformRepositoryTest.php b/tests/lib/App/PlatformRepositoryTest.php
index 83947cf7197..bc0ecb97c5a 100644
--- a/tests/lib/App/PlatformRepositoryTest.php
+++ b/tests/lib/App/PlatformRepositoryTest.php
@@ -11,10 +11,10 @@ use OC\App\PlatformRepository;
class PlatformRepositoryTest extends \Test\TestCase {
/**
- * @dataProvider providesVersions
* @param $expected
* @param $input
*/
+ #[\PHPUnit\Framework\Attributes\DataProvider('providesVersions')]
public function testVersion($input, $expected): void {
$pr = new PlatformRepository();
$normalizedVersion = $pr->normalizeVersion($input);