mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
MNT Broken builds
This commit is contained in:
parent
232f1ac8a6
commit
2ea1b07c3c
@ -20,13 +20,13 @@ class EmailRecipientTest extends SapphireTest
|
||||
$recipient->EmailBodyHtml = '<p>Some email content. About us: [sitetree_link,id=' . $page->ID . '].</p>';
|
||||
|
||||
$result = $recipient->getEmailBodyContent();
|
||||
$this->assertStringContainsString('/about-us/', $result);
|
||||
$this->assertStringContainsString('/about-us', $result);
|
||||
|
||||
$recipient->SendPlain = true;
|
||||
$recipient->EmailBody = 'Some email content. About us: [sitetree_link,id=' . $page->ID . '].';
|
||||
|
||||
$result = $recipient->getEmailBodyContent();
|
||||
$this->assertStringContainsString('/about-us/', $result);
|
||||
$this->assertStringContainsString('/about-us', $result);
|
||||
}
|
||||
|
||||
public function testEmptyRecipientFailsValidation()
|
||||
|
Loading…
x
Reference in New Issue
Block a user