aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/Auth/AuthMechanismTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests/Auth/AuthMechanismTest.php')
-rw-r--r--apps/files_external/tests/Auth/AuthMechanismTest.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/files_external/tests/Auth/AuthMechanismTest.php b/apps/files_external/tests/Auth/AuthMechanismTest.php
index d6279ea4f1f..e999cecf181 100644
--- a/apps/files_external/tests/Auth/AuthMechanismTest.php
+++ b/apps/files_external/tests/Auth/AuthMechanismTest.php
@@ -37,9 +37,7 @@ class AuthMechanismTest extends \Test\TestCase {
];
}
- /**
- * @dataProvider validateStorageProvider
- */
+ #[\PHPUnit\Framework\Attributes\DataProvider('validateStorageProvider')]
public function testValidateStorage(bool $expectedSuccess, string $scheme, bool $definitionSuccess): void {
$mechanism = $this->getMockBuilder(AuthMechanism::class)
->onlyMethods(['validateStorageDefinition'])