Skip to content
Snippets Groups Projects

dev#160166 : CkEditor placeholders plugin

Merged Alex Arnaud requested to merge dev#160166_newsletters_placeholders into master
Compare and Show latest version
1 file
+ 4
4
Preferences
Compare changes
@@ -1062,13 +1062,13 @@ class Admin_NewsletterControllerPreviewActionWithArticlesSelectionAndPlaceHolder
/** @test */
public function contentTextShouldBeAsExpected() {
$this->assertContains( $this->_expectedText(), $this->_response->getBody());
$this->assertContains( utf8_encode($this->_expectedText()), $this->_response->getBody());
}
/** @test */
public function contentHtmlShouldBeAsExpected() {
$this->assertContains( $this->_expectedHtml(), $this->_response->getBody());
$this->assertContains( utf8_encode($this->_expectedHtml()), $this->_response->getBody());
}
}
@@ -1090,7 +1090,7 @@ class Admin_NewsletterControllerPreviewActionWithArticlesSelectionAndPlaceHolder
/** @test */
public function pageShouldContainsExpectedText() {
$this->assertContains($this->_expectedText(), $this->_response->getBody());
$this->assertContains(utf8_encode($this->_expectedText()), $this->_response->getBody());
}
}
@@ -1114,7 +1114,7 @@ class Admin_NewsletterControllerPreviewActionWithArticlesSelectionAndPlaceHolder
/** @test */
public function pageShouldContainsExpectedText() {
$this->assertContains($this->_expectedText(), $this->_response->getBody());
$this->assertContains(utf8_encode($this->_expectedText()), $this->_response->getBody());
}
}