File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
dev/tests/integration/testsuite/Magento/Theme/Model/Config Expand file tree Collapse file tree 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)
8383 if (isset ($ params ['config_path ' ]) && $ params ['config_path ' ] == $ data ['config_path ' ]) {
8484 throw new LocalizedException (
8585 __ (
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. " ,
8788 ["templateName " => $ name ]
8889 )
8990 );
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ protected function setUp()
3939
4040 /**
4141 * @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
4343 */
4444 public function testValidateHasRecursiveReference ()
4545 {
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ protected function setUp()
3232 /**
3333 * @magentoDataFixture Magento/Email/Model/_files/email_template.php
3434 * @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
3636 */
3737 public function testValidateHasRecursiveReference ()
3838 {
You can’t perform that action at this time.
0 commit comments