aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/Config
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests/Config')
-rw-r--r--apps/files_external/tests/Config/UserPlaceholderHandlerTest.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php b/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php
index b40e9461287..13d25ce5075 100644
--- a/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php
+++ b/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php
@@ -53,17 +53,13 @@ class UserPlaceholderHandlerTest extends \Test\TestCase {
];
}
- /**
- * @dataProvider optionProvider
- */
+ #[\PHPUnit\Framework\Attributes\DataProvider('optionProvider')]
public function testHandle(string|array $option, string|array $expected): void {
$this->setUser();
$this->assertSame($expected, $this->handler->handle($option));
}
- /**
- * @dataProvider optionProvider
- */
+ #[\PHPUnit\Framework\Attributes\DataProvider('optionProvider')]
public function testHandleNoUser(string|array $option): void {
$this->shareManager->expects($this->once())
->method('getShareByToken')