From aa15f9d16d5b46d04763c7deedb129990e819364 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 30 Jun 2025 16:56:59 +0200 Subject: chore: run rector Signed-off-by: Robin Appelman --- apps/files/tests/Controller/ViewControllerTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'apps/files/tests/Controller/ViewControllerTest.php') diff --git a/apps/files/tests/Controller/ViewControllerTest.php b/apps/files/tests/Controller/ViewControllerTest.php index 93ef98bdec7..a9a80fc6f35 100644 --- a/apps/files/tests/Controller/ViewControllerTest.php +++ b/apps/files/tests/Controller/ViewControllerTest.php @@ -210,9 +210,7 @@ class ViewControllerTest extends TestCase { ]; } - /** - * @dataProvider dataTestShortRedirect - */ + #[\PHPUnit\Framework\Attributes\DataProvider('dataTestShortRedirect')] public function testShortRedirect(?string $openfile, ?string $opendetails, string $result): void { $this->appManager->expects($this->any()) ->method('isEnabledForUser') -- cgit v1.2.3