MNT Broken builds

This commit is contained in:
Steve Boyd 2023-01-24 15:45:09 +13:00
parent 232f1ac8a6
commit 2ea1b07c3c

View File

@ -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()