diff options
Diffstat (limited to 'apps/dav/tests/unit/Service/ExampleEventServiceTest.php')
-rw-r--r-- | apps/dav/tests/unit/Service/ExampleEventServiceTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/Service/ExampleEventServiceTest.php b/apps/dav/tests/unit/Service/ExampleEventServiceTest.php index e5961e66312..0f423624fb8 100644 --- a/apps/dav/tests/unit/Service/ExampleEventServiceTest.php +++ b/apps/dav/tests/unit/Service/ExampleEventServiceTest.php @@ -62,7 +62,7 @@ class ExampleEventServiceTest extends TestCase { ]; } - /** @dataProvider provideCustomEventData */ + #[\PHPUnit\Framework\Attributes\DataProvider('provideCustomEventData')] public function testCreateExampleEventWithCustomEvent($customEventIcs): void { $this->appConfig->expects(self::once()) ->method('getValueBool') @@ -142,7 +142,7 @@ class ExampleEventServiceTest extends TestCase { $this->service->createExampleEvent(1000); } - /** @dataProvider provideCustomEventData */ + #[\PHPUnit\Framework\Attributes\DataProvider('provideCustomEventData')] public function testGetExampleEventWithCustomEvent($customEventIcs): void { $exampleEventFolder = $this->createMock(ISimpleFolder::class); $this->appData->expects(self::once()) |