@@ -53,11 +53,6 @@ class ImageTest extends \PHPUnit_Framework_TestCase
53
53
*/
54
54
private $ factory ;
55
55
56
- /**
57
- * @var \Magento\Framework\View\Asset\Repository|\PHPUnit_Framework_MockObject_MockObject
58
- */
59
- private $ repository ;
60
-
61
56
/**
62
57
* @var \Magento\Framework\View\FileSystem|\PHPUnit_Framework_MockObject_MockObject
63
58
*/
@@ -113,7 +108,6 @@ protected function setUp()
113
108
->with (DirectoryList::MEDIA )
114
109
->will ($ this ->returnValue ($ this ->mediaDirectory ));
115
110
$ this ->factory = $ this ->getMock (\Magento \Framework \Image \Factory::class, [], [], '' , false );
116
- $ this ->repository = $ this ->getMock (\Magento \Framework \View \Asset \Repository::class, [], [], '' , false );
117
111
$ this ->fileSystem = $ this ->getMock (\Magento \Framework \View \FileSystem::class, [], [], '' , false );
118
112
119
113
$ this ->viewAssetImageFactory = $ this ->getMockBuilder (ImageFactory::class)
@@ -133,11 +127,7 @@ protected function setUp()
133
127
'coreFileStorageDatabase ' => $ this ->coreFileHelper ,
134
128
'filesystem ' => $ this ->filesystem ,
135
129
'imageFactory ' => $ this ->factory ,
136
- 'assetRepo ' => $ this ->repository ,
137
130
'viewFileSystem ' => $ this ->fileSystem ,
138
- 'resource ' => null ,
139
- 'resourceCollection ' => null ,
140
- 'data ' => [],
141
131
'viewAssetImageFactory ' => $ this ->viewAssetImageFactory ,
142
132
'viewAssetPlaceholderFactory ' => $ this ->viewAssetPlaceholderFactory
143
133
]
0 commit comments