Skip to content

Commit

Permalink
fix: do not expect setForcedArea in unit tests for Magento\Theme\Test…
Browse files Browse the repository at this point in the history
…\Unit\Model\Design\Config\Validator
  • Loading branch information
DanielRuf committed May 10, 2018
1 parent 0ae1230 commit 3df51d4
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ public function setUp()
->setMethods(
[
'emulateDesign',
'setForcedArea',
'loadDefault',
'getTemplateText',
'revertDesign',
Expand Down Expand Up @@ -77,7 +76,6 @@ public function testGetDefaultTemplateTextDefaultScope()
$this->templateFactory->expects($this->once())->method('create');
$this->designConfig->expects($this->any())->method('getScope')->willReturn('default');
$this->template->expects($this->once())->method('emulateDesign');
$this->template->expects($this->once())->method('setForcedArea')->with($templateId);
$this->template->expects($this->once())->method('loadDefault')->with($templateId);
$this->template->expects($this->once())->method('getTemplateText');
$this->template->expects($this->once())->method('revertDesign');
Expand Down

0 comments on commit 3df51d4

Please sign in to comment.