aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/tests/Unit/EventHandlerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/tests/Unit/EventHandlerTest.php')
-rw-r--r--apps/comments/tests/Unit/EventHandlerTest.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/comments/tests/Unit/EventHandlerTest.php b/apps/comments/tests/Unit/EventHandlerTest.php
index df2876e20a3..9d26f828d70 100644
--- a/apps/comments/tests/Unit/EventHandlerTest.php
+++ b/apps/comments/tests/Unit/EventHandlerTest.php
@@ -57,9 +57,7 @@ class EventHandlerTest extends TestCase {
];
}
- /**
- * @dataProvider handledProvider
- */
+ #[\PHPUnit\Framework\Attributes\DataProvider('handledProvider')]
public function testHandled(string $eventType): void {
/** @var IComment|MockObject $comment */
$comment = $this->createMock(IComment::class);