- Removes debug leftovers
This commit is contained in:
@ -37,7 +37,6 @@ class Button {
|
||||
</div>
|
||||
</td>
|
||||
</tr>';
|
||||
//!d($template);exit;
|
||||
return $template;
|
||||
}
|
||||
}
|
@ -132,11 +132,9 @@ class NewsletterRendererCest {
|
||||
expect($DOM('tr > td > img', 0)->attr('width'))->equals(280);
|
||||
}
|
||||
|
||||
|
||||
function itRendersText() {
|
||||
$template = $this->newsletterData['content']['blocks'][0]['blocks'][0]['blocks'][2];
|
||||
$DOM = $this->queryDOM->parseStr(Text::render($template));
|
||||
//!d($DOM->__toString());exit;
|
||||
// blockquotes and paragraphs should be converted to spans and placed inside a table
|
||||
expect(
|
||||
!empty($DOM('tr > td > table > tr > td.mailpoet_paragraph', 0)->html())
|
||||
@ -174,7 +172,6 @@ class NewsletterRendererCest {
|
||||
))->equals(1);
|
||||
}
|
||||
|
||||
|
||||
function itRendersSpacer() {
|
||||
$template = $this->newsletterData['content']['blocks'][0]['blocks'][0]['blocks'][4];
|
||||
$DOM = $this->queryDOM->parseStr(Spacer::render($template));
|
||||
@ -249,4 +246,4 @@ class NewsletterRendererCest {
|
||||
expect(preg_match('/mailpoet_template.*?important/s', $template))
|
||||
->equals(0);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user