From c3cecf3d280cb4a5f4aa1170974d68ba7c8dacf6 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 18 Mar 2023 23:12:30 -0400 Subject: [PATCH] Provide corresponding default value for $try_oembed in BBCodeTest->testConvert - Add documentation about system.remove_multiplicated_lines expected value --- tests/src/Content/Text/BBCodeTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/src/Content/Text/BBCodeTest.php b/tests/src/Content/Text/BBCodeTest.php index a7de2388e2..1bf5dfb902 100644 --- a/tests/src/Content/Text/BBCodeTest.php +++ b/tests/src/Content/Text/BBCodeTest.php @@ -282,8 +282,9 @@ Karl Marx - Die ursprüngliche Akkumulation * * @throws InternalServerErrorException */ - public function testConvert(string $expectedHtml, string $text, $try_oembed = false, int $simpleHtml = 0, bool $forPlaintext = false) + public function testConvert(string $expectedHtml, string $text, bool $try_oembed = true, int $simpleHtml = BBCode::INTERNAL, bool $forPlaintext = false) { + // This assumes system.remove_multiplicated_lines = false $actual = BBCode::convert($text, $try_oembed, $simpleHtml, $forPlaintext); self::assertEquals($expectedHtml, $actual);