aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Accounts/AccountPropertyTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Accounts/AccountPropertyTest.php')
-rw-r--r--tests/lib/Accounts/AccountPropertyTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/lib/Accounts/AccountPropertyTest.php b/tests/lib/Accounts/AccountPropertyTest.php
index 68e1da41557..b92e45176a3 100644
--- a/tests/lib/Accounts/AccountPropertyTest.php
+++ b/tests/lib/Accounts/AccountPropertyTest.php
@@ -1,4 +1,5 @@
<?php
+
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
@@ -69,9 +70,7 @@ class AccountPropertyTest extends TestCase {
];
}
- /**
- * @dataProvider scopesProvider
- */
+ #[\PHPUnit\Framework\Attributes\DataProvider('scopesProvider')]
public function testSetScopeMapping(string $storedScope, ?string $returnedScope): void {
if ($returnedScope === null) {
$this->expectException(\InvalidArgumentException::class);