Permalink
Browse files

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
  • Loading branch information...
1 parent a191019 commit 8f2d9200ae798faf0c771513e7db0899ec27f19c @chillu chillu committed Oct 15, 2010
Showing with 2 additions and 4 deletions.
  1. +2 −4 tests/forms/HtmlEditorFieldTest.php
@@ -117,11 +117,9 @@ public function testImageTracking() {
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() {

0 comments on commit 8f2d920

Please sign in to comment.