Multi-use redemption page created

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@104442 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Geoff Munn 2010-05-10 04:18:22 +00:00 committed by Sam Minnee
parent a290dc451f
commit f405d71645

View File

@ -117,11 +117,9 @@ class HtmlEditorFieldTest extends FunctionalTest {
public function testMultiLineSaving() {
$sitetree = $this->objFromFixture('SiteTree', 'home');
$editor = new HtmlEditorField('Content');
$editor->setValue("<p>First Paragraph</p>\n\n<p>Second Paragraph</p>");
$editor->setValue("<p>First Paragraph</p><p>Second Paragraph</p>");
$editor->saveInto($sitetree);
$this->assertEquals("<p>First Paragraph</p>\n\n<p>Second Paragraph</p>", $sitetree->Content);
$this->assertEquals("<p>First Paragraph</p><p>Second Paragraph</p>", $sitetree->Content);
}
public function testSavingLinksWithoutHref() {