diff --git a/tests/forms/HtmlEditorFieldTest.php b/tests/forms/HtmlEditorFieldTest.php index 3e07fc03c..1aa90ad17 100755 --- a/tests/forms/HtmlEditorFieldTest.php +++ b/tests/forms/HtmlEditorFieldTest.php @@ -117,11 +117,9 @@ class HtmlEditorFieldTest extends FunctionalTest { public function testMultiLineSaving() { $sitetree = $this->objFromFixture('SiteTree', 'home'); $editor = new HtmlEditorField('Content'); - - $editor->setValue("

First Paragraph

\n\n

Second Paragraph

"); + $editor->setValue("

First Paragraph

Second Paragraph

"); $editor->saveInto($sitetree); - - $this->assertEquals("

First Paragraph

\n\n

Second Paragraph

", $sitetree->Content); + $this->assertEquals("

First Paragraph

Second Paragraph

", $sitetree->Content); } public function testSavingLinksWithoutHref() {