mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Fixed SiteTreeTest->testCompareVersions() to work with new Diff/HTMLCleaner implementation
This commit is contained in:
parent
fb4efaa17e
commit
aef17ed2e0
@ -522,7 +522,7 @@ class SiteTreeTest extends SapphireTest {
|
|||||||
$processedContent = trim($diff->Content);
|
$processedContent = trim($diff->Content);
|
||||||
$processedContent = preg_replace('/\s*</','<',$processedContent);
|
$processedContent = preg_replace('/\s*</','<',$processedContent);
|
||||||
$processedContent = preg_replace('/>\s*/','>',$processedContent);
|
$processedContent = preg_replace('/>\s*/','>',$processedContent);
|
||||||
$this->assertEquals("<ins><p>This is a test</p></ins>", $processedContent);
|
$this->assertEquals("<ins><p><ins>This is a test</ins></p></ins>", $processedContent);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user