Fix phpunit

This commit is contained in:
Laurent Destailleur 2021-08-22 01:20:25 +02:00
parent 4cd5a53b63
commit b3043ab3d6

View File

@ -506,7 +506,7 @@ class SecurityTest extends PHPUnit\Framework\TestCase
$result=GETPOST("param14", 'restricthtml'); $result=GETPOST("param14", 'restricthtml');
print __METHOD__." result=".$result."\n"; print __METHOD__." result=".$result."\n";
$this->assertEquals("Text with ' encoded with the numeric html entity converted into text entity ' (like when submited by CKEditor)", $result, 'Test 14'); $this->assertEquals("Text with ' encoded with the numeric html entity converted into text entity ' (like when submited by CKEditor)", $result, 'Test 14');
$result=GETPOST("param15", 'restricthtml'); // <img onerror<=alert(document.domain)> src=>0xbeefed $result=GETPOST("param15", 'restricthtml'); // <img onerror<=alert(document.domain)> src=>0xbeefed
print __METHOD__." result=".$result."\n"; print __METHOD__." result=".$result."\n";