From 2cb649abbba89d90ff3fb24270dd7fea810d0aeb Mon Sep 17 00:00:00 2001 From: Luke Amos Date: Wed, 16 Jan 2019 14:14:19 +1300 Subject: [PATCH] FIX #Fixes silverstripe#814 Fixing automated test for code. --- tests/Model/UserDefinedFormTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Model/UserDefinedFormTest.php b/tests/Model/UserDefinedFormTest.php index ef6a638..a8e8d71 100644 --- a/tests/Model/UserDefinedFormTest.php +++ b/tests/Model/UserDefinedFormTest.php @@ -175,8 +175,8 @@ class UserDefinedFormTest extends FunctionalTest $result = $recipient->getEmailTemplateDropdownValues(); // Installation path can be as a project when testing in Travis, so check partial match - $this->assertContains('email' . DIRECTORY_SEPARATOR . 'SubmittedFormEmail', key($result)); - $this->assertSame('SubmittedFormEmail', current($result)); + $this->assertContains('email' . DIRECTORY_SEPARATOR . 'SubmittedFormEmailHtml', key($result)); + $this->assertSame('SubmittedFormEmailHtml', current($result)); } public function testEmailTemplateExists()