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
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user