Provide corresponding default value for $try_oembed in BBCodeTest->testConvert
- Add documentation about system.remove_multiplicated_lines expected value
This commit is contained in:
parent
67c0c279aa
commit
c3cecf3d28
1 changed files with 2 additions and 1 deletions
|
@ -282,8 +282,9 @@ Karl Marx - Die ursprüngliche Akkumulation
|
||||||
*
|
*
|
||||||
* @throws InternalServerErrorException
|
* @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);
|
$actual = BBCode::convert($text, $try_oembed, $simpleHtml, $forPlaintext);
|
||||||
|
|
||||||
self::assertEquals($expectedHtml, $actual);
|
self::assertEquals($expectedHtml, $actual);
|
||||||
|
|
Loading…
Reference in a new issue