From 1d1c089f84b05312d594ecd052c9a0d8aa942f76 Mon Sep 17 00:00:00 2001 From: dew-git <55564947+dew-git@users.noreply.github.com> Date: Thu, 10 Oct 2019 21:21:22 -0800 Subject: [PATCH] Make test comply. --- tests/src/Util/StringsTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/src/Util/StringsTest.php b/tests/src/Util/StringsTest.php index f92618310..03bc88d74 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 ); }