File tree 1 file changed +2
-0
lines changed
app/code/Magento/Theme/Test/Unit/Model/Design/Config 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ public function setUp()
49
49
->setMethods (
50
50
[
51
51
'emulateDesign ' ,
52
+ 'setForcedArea ' ,
52
53
'loadDefault ' ,
53
54
'getTemplateText ' ,
54
55
'revertDesign ' ,
@@ -76,6 +77,7 @@ public function testGetDefaultTemplateTextDefaultScope()
76
77
$ this ->templateFactory ->expects ($ this ->once ())->method ('create ' );
77
78
$ this ->designConfig ->expects ($ this ->any ())->method ('getScope ' )->willReturn ('default ' );
78
79
$ this ->template ->expects ($ this ->once ())->method ('emulateDesign ' );
80
+ $ this ->template ->expects ($ this ->once ())->method ('setForcedArea ' )->with ($ templateId );
79
81
$ this ->template ->expects ($ this ->once ())->method ('loadDefault ' )->with ($ templateId );
80
82
$ this ->template ->expects ($ this ->once ())->method ('getTemplateText ' );
81
83
$ this ->template ->expects ($ this ->once ())->method ('revertDesign ' );
You can’t perform that action at this time.
0 commit comments