]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Util/StringsTest.php
Merge pull request #10999 from nupplaphil/bug/configcache_set
[friendica.git] / tests / src / Util / StringsTest.php
index 5adaa9157aa9f8a8c6c96032dd24975015c8180a..7bfe9906b47119ce36a226c99bbd33c837215c33 100644 (file)
@@ -90,10 +90,8 @@ class StringsTest extends TestCase
        {
                $invalidstring='<submit type="button" onclick="alert(\'failed!\');" />';
 
-               $validstring = Strings::escapeTags($invalidstring);
                $escapedString = Strings::escapeHtml($invalidstring);
 
-               self::assertEquals('[submit type="button" onclick="alert(\'failed!\');" /]', $validstring);
                self::assertEquals(
                        "&lt;submit type=&quot;button&quot; onclick=&quot;alert('failed!');&quot; /&gt;",
                        $escapedString