PluginOutputTest: Fix case testMultilineHtmlOutput
This commit is contained in:
parent
fff07144c3
commit
eb69a249d3
|
@ -87,18 +87,18 @@ class PluginOutputTest extends BaseTestCase
|
||||||
{
|
{
|
||||||
$input = array(
|
$input = array(
|
||||||
'Teststatus',
|
'Teststatus',
|
||||||
'<a href="http://localhost/test.php" target="_blank">Info</a><br/><br/>',
|
'<a href="http://localhost/test.php" target="_blank">Info</a><br/><br/>'
|
||||||
'<a href="http://localhost/test2.php" target="_blank">Info2</a>'
|
. '<a href="http://localhost/test2.php" target="_blank">Info2</a>'
|
||||||
);
|
);
|
||||||
/** @noinspection HtmlUnknownAttribute */
|
/** @noinspection HtmlUnknownAttribute */
|
||||||
$output = array(
|
$output = array(
|
||||||
'Teststatus ',
|
'Teststatus',
|
||||||
'<a href="http://localhost/test.php" target="_blank"[^>]*>Info</a><br><br>',
|
'<a href="http://localhost/test.php" target="_blank"[^>]*>Info</a><br><br>'
|
||||||
'<a href="http://localhost/test2.php" target="_blank"[^>]*>Info2</a>'
|
. '<a href="http://localhost/test2.php" target="_blank"[^>]*>Info2</a>'
|
||||||
);
|
);
|
||||||
$this->checkHtmlOutput(
|
$this->checkHtmlOutput(
|
||||||
join("\n", $input),
|
join("\n", $input),
|
||||||
join('', $output),
|
join("\n", $output),
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue