diff --git a/tests/src/Content/Text/BBCodeTest.php b/tests/src/Content/Text/BBCodeTest.php index 4c1292344c..073a441f04 100644 --- a/tests/src/Content/Text/BBCodeTest.php +++ b/tests/src/Content/Text/BBCodeTest.php @@ -146,7 +146,7 @@ class BBCodeTest extends FixtureTest public function testAutoLinking(string $data, bool $assertHTML) { $output = BBCode::convert($data); - $assert = $this->HTMLPurifier->purify('' . $data . ''); + $assert = $this->HTMLPurifier->purify('
'); if ($assertHTML) { self::assertEquals($assert, $output); } else { @@ -278,7 +278,7 @@ Karl Marx - Die ursprüngliche Akkumulation { $actual = BBCode::convert($text, $try_oembed, $simpleHtml, $forPlaintext); - self::assertEquals($expectedHtml, $actual); + self::assertEquals('' . $expectedHtml . '
', $actual); } public function dataBBCodesToMarkdown() diff --git a/tests/src/Factory/Api/Twitter/DirectMessageTest.php b/tests/src/Factory/Api/Twitter/DirectMessageTest.php index 216c4051fa..62a9c43e59 100644 --- a/tests/src/Factory/Api/Twitter/DirectMessageTest.php +++ b/tests/src/Factory/Api/Twitter/DirectMessageTest.php @@ -67,7 +67,7 @@ class DirectMessageTest extends FixtureTest ->toArray(); self::assertEquals('item_title', $directMessage['title']); - self::assertEquals('item_body', $directMessage['text']); + self::assertEquals('item_body
', $directMessage['text']); } /**