diff --git a/tests/unit/lib/VisualTest.php b/tests/unit/lib/VisualTest.php
index 3d2f03a77dc713c4e7b91ce680044ab0816f7b4b..29ab51e747eff8e779fd91a1ac5115b1ca08803b 100644
--- a/tests/unit/lib/VisualTest.php
+++ b/tests/unit/lib/VisualTest.php
@@ -225,7 +225,7 @@ class VisualFunctionsTest extends \Codeception\Test\Unit
     public function testMail()
     {
         $input = '[Mail]some.user+tag@example.com';
-        $expected = '<a class="link-extern" href="mailto:some.user+tag@example.com">Mail</a>';
+        $expected = '<a href="mailto:some.user+tag@example.com">Mail</a>';
         $expected = $this->wrap($expected);
         $this->assertEquals($expected, formatReady($input));
     }