Multi-use redemption page created (from r104442)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112346 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-10-15 00:04:47 +00:00
parent a191019e7a
commit 8f2d9200ae

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() {