mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
a290dc451f
commit
f405d71645
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user