diff options
Diffstat (limited to 'apps/files_external/tests/Auth')
-rw-r--r-- | apps/files_external/tests/Auth/AuthMechanismTest.php | 4 | ||||
-rw-r--r-- | apps/files_external/tests/Auth/Password/GlobalAuthTest.php | 2 |
2 files changed, 2 insertions, 4 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']) diff --git a/apps/files_external/tests/Auth/Password/GlobalAuthTest.php b/apps/files_external/tests/Auth/Password/GlobalAuthTest.php index 02f15cb76c4..6d83655403e 100644 --- a/apps/files_external/tests/Auth/Password/GlobalAuthTest.php +++ b/apps/files_external/tests/Auth/Password/GlobalAuthTest.php @@ -29,7 +29,7 @@ class GlobalAuthTest extends TestCase { } private function getStorageConfig($type, $config = []) { - /** @var \OCA\Files_External\Lib\StorageConfig&MockObject $storageConfig */ + /** @var StorageConfig&MockObject $storageConfig */ $storageConfig = $this->createMock(StorageConfig::class); $storageConfig->expects($this->any()) ->method('getType') |