Skip to content

Commit

Permalink
MAGETWO-89261: Template file 'header.html' is not found.
Browse files Browse the repository at this point in the history
  • Loading branch information
ameysar committed Mar 21, 2018
1 parent d3aef7c commit 3f6464d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function testValidateHasRecursiveReference()
$designElementMock->expects($this->once())->method('getValue')->willReturn($fieldConfig['field']);

$templateMock = $this->getMockBuilder(\Magento\Email\Model\TemplateInterface::class)
->setMethods(['getTemplateText', 'emulateDesign', 'loadDefault', 'revertDesign'])
->setMethods(['getTemplateText', 'emulateDesign', 'loadDefault', 'revertDesign', 'setForcedArea'])
->getMock();

$this->templateFactoryMock->expects($this->once())->method('create')->willReturn($templateMock);
Expand Down Expand Up @@ -110,7 +110,7 @@ public function testValidateNoRecursiveReference()
$designElementMock->expects($this->once())->method('getValue')->willReturn($fieldConfig['field']);

$templateMock = $this->getMockBuilder(\Magento\Email\Model\TemplateInterface::class)
->setMethods(['getTemplateText', 'emulateDesign', 'loadDefault', 'revertDesign'])
->setMethods(['getTemplateText', 'emulateDesign', 'loadDefault', 'revertDesign', 'setForcedArea'])
->getMock();

$this->templateFactoryMock->expects($this->once())->method('create')->willReturn($templateMock);
Expand Down

0 comments on commit 3f6464d

Please sign in to comment.