mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge pull request #1190 from creative-commoners/pulls/6/broken-builds
MNT Broken builds
This commit is contained in:
commit
c11d22bbef
@ -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…
Reference in New Issue
Block a user