File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
app/code/Magento/Theme/Test/Unit/Model/Theme Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ protected function setUp()
46
46
->getMock ();
47
47
$ this ->themeConfigFactory = $ this ->getMockBuilder ('Magento\Framework\Config\ThemeFactory ' )
48
48
->setMethods (['create ' ])
49
+ ->disableOriginalConstructor ()
49
50
->getMock ();
50
51
$ this ->directory = $ this ->getMockBuilder ('Magento\Framework\Filesystem\Directory\ReadInterface ' )
51
52
->disableOriginalConstructor ()
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ protected function setUp()
23
23
{
24
24
$ fileFactory = $ this ->getMockBuilder ('Magento\Theme\Model\Resource\Theme\File\CollectionFactory ' )
25
25
->setMethods (['create ' ])
26
+ ->disableOriginalConstructor ()
26
27
->getMock ();
27
28
$ this ->file = $ this ->getMockBuilder ('Magento\Theme\Model\Resource\Theme\File\Collection ' )
28
29
->disableOriginalConstructor ()
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ public function setUp()
34
34
{
35
35
$ this ->collectionFactory = $ this ->getMockBuilder ('Magento\Theme\Model\Resource\Theme\Data\CollectionFactory ' )
36
36
->setMethods (['create ' ])
37
+ ->disableOriginalConstructor ()
37
38
->getMock ();
38
39
$ this ->filesystemCollection = $ this ->getMockBuilder ('Magento\Theme\Model\Theme\Data\Collection ' )
39
40
->disableOriginalConstructor ()
You can’t perform that action at this time.
0 commit comments