Change class name for columns with background

[MAILPOET-2609]
This commit is contained in:
Rostislav Wolny
2020-03-03 11:32:19 +01:00
committed by Pavel Dohnal
parent 23a8a46858
commit 772df80f01
4 changed files with 7 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ class ColumnsTest extends \MailPoetUnitTest {
$column = $this->htmlParser->getElementByXpath($html, '//div[1]');
$class = $this->htmlParser->getAttribute($column, 'class');
expect($class->textContent)->contains('has-vivid-red-background-color');
expect($class->textContent)->contains('mailpoet_column_has_background');
expect($class->textContent)->contains('mailpoet_column_with_background');
}
public function testItShouldRenderTextColorClass() {
@@ -75,7 +75,7 @@ class ColumnsTest extends \MailPoetUnitTest {
$style = $this->htmlParser->getAttribute($columns, 'style');
expect($style->textContent)->contains('background-color:#ffffff;');
$class = $this->htmlParser->getAttribute($columns, 'class');
expect($class->textContent)->contains('mailpoet_column_has_background');
expect($class->textContent)->contains('mailpoet_column_with_background');
}
public function testItShouldCustomTextColor() {