File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed
app/code/Magento/ConfigurableProduct/Test/Unit/Block/Plugin/Product/Media
lib/internal/Magento/Framework/EntityManager/Test/Unit Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ protected function setUp()
60
60
$ variationProduct ->expects ($ this ->any ())->method ('getImage ' )->willReturn ('image.jpg ' );
61
61
$ variationProduct ->expects ($ this ->any ())->method ('getData ' )->with ('configurable_attribute ' )->willReturn (1 );
62
62
63
- $ this ->galleryHandler ->expects ($ this ->once ())->method ('execute ' )->with ('' , $ variationProduct );
63
+ $ this ->galleryHandler ->expects ($ this ->once ())->method ('execute ' )->with ($ variationProduct );
64
64
65
65
$ configurableType = $ this ->getMockBuilder ('\Magento\ConfigurableProduct\Model\Product\Type\Configurable ' )
66
66
->disableOriginalConstructor ()
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public function setUp()
25
25
26
26
/**
27
27
* @param object $dataObject
28
- * @param string[] $interfaceNames
28
+ * @param string $interfaceNames
29
29
* @dataProvider resolveDataProvider
30
30
*/
31
31
public function testResolve ($ dataObject , $ interfaceName )
@@ -46,15 +46,7 @@ public function resolveDataProvider()
46
46
],
47
47
[
48
48
\Magento \Catalog \Model \Category::class,
49
- \Magento \Catalog \Api \Data \CategoryTreeInterface::class,
50
- ],
51
- [
52
- \Magento \SalesRule \Model \Rule::class,
53
- \Magento \SalesRule \Api \Data \RuleInterface::class,
54
- ],
55
- [
56
- \Magento \SalesRule \Model \Rule \Interceptor::class,
57
- \Magento \SalesRule \Api \Data \RuleInterface::class,
49
+ \Magento \Catalog \Api \Data \CategoryInterface::class,
58
50
]
59
51
];
60
52
}
You can’t perform that action at this time.
0 commit comments