mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
FIX #Fixes silverstripe#814 Fixing automated test for code.
This commit is contained in:
parent
490d05a3e8
commit
2cb649abbb
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user