Commit 5ffcd33f authored by Carsten  Rose's avatar Carsten Rose
Browse files

Fix Unit Tests for 3470, 5382

parent e256aa40
......@@ -898,7 +898,7 @@ class LinkTest extends \PHPUnit_Framework_TestCase {
// some text, with double ticks inside
$result = $link->renderLink('u:http://example.com|o:hello world "some more text" end');
$this->assertEquals('<a href="http://example.com" title="hello world \\"some more text\\" end" >http://example.com</a>', $result);
$this->assertEquals('<a href="http://example.com" title="hello world &quot;some more text&quot; end" >http://example.com</a>', $result);
// some text, with already escaped double ticks inside
$result = $link->renderLink('u:http://example.com|o:hello world \\"some more text\\" end');
......
......@@ -335,6 +335,7 @@ EOT;
SYSTEM_RECORD_LOCK_TIMEOUT_SECONDS => SYSTEM_RECORD_LOCK_TIMEOUT_SECONDS_DEFAULT,
DOCUMENTATION_QFQ => DOCUMENTATION_QFQ_URL,
SYSTEM_ENTER_AS_SUBMIT => 1,
];
$fileName = $this->createFile($body);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment