Server geändert
This commit is contained in:
@ -12,8 +12,8 @@ class HTMLPurifier_Injector_DisplayLinkURITest extends HTMLPurifier_InjectorHarn
|
||||
public function testBasicLink()
|
||||
{
|
||||
$this->assertResult(
|
||||
'<a href="http://malware.example.com">Don\'t go here!</a>',
|
||||
'<a>Don\'t go here!</a> (http://malware.example.com)'
|
||||
'<a href="https://malware.example.com">Don\'t go here!</a>',
|
||||
'<a>Don\'t go here!</a> (https://malware.example.com)'
|
||||
);
|
||||
}
|
||||
|
||||
@ -27,8 +27,8 @@ class HTMLPurifier_Injector_DisplayLinkURITest extends HTMLPurifier_InjectorHarn
|
||||
public function testEmptyText()
|
||||
{
|
||||
$this->assertResult(
|
||||
'<a href="http://malware.example.com"></a>',
|
||||
'<a></a> (http://malware.example.com)'
|
||||
'<a href="https://malware.example.com"></a>',
|
||||
'<a></a> (https://malware.example.com)'
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user