Skip to content

Commit aa4545a

Browse files
author
Cari Spruiell
committed
MAGETWO-54479: [Email] Change Messaging for "502 Bad Gateway" error when "New Account" email is initiated with custom templates.
- updated tests
1 parent 903ff8d commit aa4545a

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

app/code/Magento/Theme/Test/Unit/Model/Config/ValidatorTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,10 @@ protected function setUp()
3737
);
3838
}
3939

40-
//@codingStandardsIgnoreStart
4140
/**
4241
* @expectedException \Magento\Framework\Exception\LocalizedException
43-
* @expectedExceptionMessage The email_header_template contains an incorrect configuration. The template has a reference to itself. Either remove or change the reference.
42+
* @expectedExceptionMessage The email_header_template contains an incorrect configuration. The template has a
4443
*/
45-
//@codingStandardsIgnoreEnd
4644
public function testValidateHasRecursiveReference()
4745
{
4846
$fieldConfig = [

dev/tests/integration/testsuite/Magento/Theme/Model/Config/ValidatorTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,11 @@ protected function setUp()
2929
$this->model = $objectManager->get('Magento\Theme\Model\Design\Config\Validator');
3030
}
3131

32-
//@codingStandardsIgnoreStart
3332
/**
3433
* @magentoDataFixture Magento/Email/Model/_files/email_template.php
3534
* @expectedException \Magento\Framework\Exception\LocalizedException
36-
* @expectedExceptionMessage The email_header_template contains an incorrect configuration. The template has a reference to itself. Either remove or change the reference.
35+
* @expectedExceptionMessage The email_header_template contains an incorrect configuration. The template has a
3736
*/
38-
//@codingStandardsIgnoreEnd
3937
public function testValidateHasRecursiveReference()
4038
{
4139
$fieldConfig = [

0 commit comments

Comments
 (0)