From: dew-git <55564947+dew-git@users.noreply.github.com> Date: Fri, 11 Oct 2019 05:21:22 +0000 (-0800) Subject: Make test comply. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1d1c089f84b05312d594ecd052c9a0d8aa942f76;p=friendica.git Make test comply. --- diff --git a/tests/src/Util/StringsTest.php b/tests/src/Util/StringsTest.php index f926183108..03bc88d74c 100644 --- a/tests/src/Util/StringsTest.php +++ b/tests/src/Util/StringsTest.php @@ -12,7 +12,7 @@ use PHPUnit\Framework\TestCase; */ class StringsTest extends TestCase { - /** + /** * randomnames should be random, even length */ public function testRandomEven() @@ -64,9 +64,9 @@ class StringsTest extends TestCase $randomname2 = Strings::getRandomName(1); $this->assertEquals(1, strlen($randomname2)); - } - - /** + } + + /** * test, that tags are escaped */ public function testEscapeHtml() @@ -78,7 +78,7 @@ class StringsTest extends TestCase $this->assertEquals('[submit type="button" onclick="alert(\'failed!\');" /]', $validstring); $this->assertEquals( - "<submit type="button" onclick="alert('failed!');" />", + '<submit type="button" onclick="alert('failed!');" />', $escapedString ); }