aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Preview/SVGTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Preview/SVGTest.php')
-rw-r--r--tests/lib/Preview/SVGTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Preview/SVGTest.php b/tests/lib/Preview/SVGTest.php
index 7612ac37c66..8c6d9bb6691 100644
--- a/tests/lib/Preview/SVGTest.php
+++ b/tests/lib/Preview/SVGTest.php
@@ -46,9 +46,9 @@ class SVGTest extends Provider {
}
/**
- * @dataProvider dataGetThumbnailSVGHref
* @requires extension imagick
*/
+ #[\PHPUnit\Framework\Attributes\DataProvider('dataGetThumbnailSVGHref')]
public function testGetThumbnailSVGHref(string $content): void {
$handle = fopen('php://temp', 'w+');
fwrite($handle, '<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">