File tree 3 files changed +4
-3
lines changed
dev/tests/integration/testsuite/Magento/Theme/Model/Config
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,8 @@ public function validate(DesignConfigInterface $designConfig)
83
83
if (isset ($ params ['config_path ' ]) && $ params ['config_path ' ] == $ data ['config_path ' ]) {
84
84
throw new LocalizedException (
85
85
__ (
86
- "Incorrect configuration for %templateName. Template body has a reference to itself " ,
86
+ "The %templateName contains an incorrect configuration. The template has " .
87
+ "a reference to itself. Either remove or change the reference. " ,
87
88
["templateName " => $ name ]
88
89
)
89
90
);
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ protected function setUp()
39
39
40
40
/**
41
41
* @expectedException \Magento\Framework\Exception\LocalizedException
42
- * @expectedExceptionMessage Incorrect configuration for email_header_template. Template body has a reference to
42
+ * @expectedExceptionMessage The email_header_template contains an incorrect configuration. The template has a
43
43
*/
44
44
public function testValidateHasRecursiveReference ()
45
45
{
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ protected function setUp()
32
32
/**
33
33
* @magentoDataFixture Magento/Email/Model/_files/email_template.php
34
34
* @expectedException \Magento\Framework\Exception\LocalizedException
35
- * @expectedExceptionMessage Incorrect configuration for email_header_template. Template body has a reference to
35
+ * @expectedExceptionMessage The email_header_template contains an incorrect configuration. The template has a
36
36
*/
37
37
public function testValidateHasRecursiveReference ()
38
38
{
You can’t perform that action at this time.
0 commit comments