[BUGFIX] Avoid duplicated classes in typolink VH
[Packages/TYPO3.CMS.git] / typo3 / sysext / fluid / Tests / Unit / ViewHelpers / Link / TypolinkViewHelperTest.php
index d3cb966..8b62911 100644 (file)
@@ -91,6 +91,14 @@ class TypolinkViewHelperTest extends ViewHelperBaseTestcase
                 '',
                 '42 - "css-class fluid_class"',
             ],
+            'classes are unique' => [
+                '42 - css-class',
+                '',
+                'css-class',
+                '',
+                '',
+                '42 - css-class',
+            ],
             'page with overridden title' => [
                 '42 - - "a link title"',
                 '',