@@ -75,8 +75,8 @@ public function testSave()
75
75
$ linkedProductMock = $ this ->getMock ('\Magento\Catalog\Model\Product ' , [], [], '' , false );
76
76
$ this ->productRepositoryMock ->expects ($ this ->exactly (2 ))->method ('get ' )->will ($ this ->returnValueMap (
77
77
[
78
- ['product ' , false , null , $ productMock ],
79
- ['linkedProduct ' , false , null , $ linkedProductMock ],
78
+ ['product ' , false , null , false , $ productMock ],
79
+ ['linkedProduct ' , false , null , false , $ linkedProductMock ],
80
80
]
81
81
));
82
82
$ entityMock ->expects ($ this ->once ())->method ('getLinkedProductSku ' )->willReturn ('linkedProduct ' );
@@ -102,8 +102,8 @@ public function testSaveWithException()
102
102
$ linkedProductMock = $ this ->getMock ('\Magento\Catalog\Model\Product ' , [], [], '' , false );
103
103
$ this ->productRepositoryMock ->expects ($ this ->exactly (2 ))->method ('get ' )->will ($ this ->returnValueMap (
104
104
[
105
- ['product ' , false , null , $ productMock ],
106
- ['linkedProduct ' , false , null , $ linkedProductMock ],
105
+ ['product ' , false , null , false , $ productMock ],
106
+ ['linkedProduct ' , false , null , false , $ linkedProductMock ],
107
107
]
108
108
));
109
109
$ entityMock ->expects ($ this ->once ())->method ('getLinkedProductSku ' )->willReturn ('linkedProduct ' );
@@ -129,8 +129,8 @@ public function testDelete()
129
129
$ linkedProductMock = $ this ->getMock ('\Magento\Catalog\Model\Product ' , [], [], '' , false );
130
130
$ this ->productRepositoryMock ->expects ($ this ->exactly (2 ))->method ('get ' )->will ($ this ->returnValueMap (
131
131
[
132
- ['product ' , false , null , $ productMock ],
133
- ['linkedProduct ' , false , null , $ linkedProductMock ],
132
+ ['product ' , false , null , false , $ productMock ],
133
+ ['linkedProduct ' , false , null , false , $ linkedProductMock ],
134
134
]
135
135
));
136
136
$ entityMock ->expects ($ this ->once ())->method ('getLinkedProductSku ' )->willReturn ('linkedProduct ' );
@@ -157,8 +157,8 @@ public function testDeleteWithInvalidDataException()
157
157
$ linkedProductMock = $ this ->getMock ('\Magento\Catalog\Model\Product ' , [], [], '' , false );
158
158
$ this ->productRepositoryMock ->expects ($ this ->exactly (2 ))->method ('get ' )->will ($ this ->returnValueMap (
159
159
[
160
- ['product ' , false , null , $ productMock ],
161
- ['linkedProduct ' , false , null , $ linkedProductMock ],
160
+ ['product ' , false , null , false , $ productMock ],
161
+ ['linkedProduct ' , false , null , false , $ linkedProductMock ],
162
162
]
163
163
));
164
164
$ entityMock ->expects ($ this ->once ())->method ('getLinkedProductSku ' )->willReturn ('linkedProduct ' );
@@ -186,8 +186,8 @@ public function testDeleteWithNoSuchEntityException()
186
186
$ linkedProductMock = $ this ->getMock ('\Magento\Catalog\Model\Product ' , [], [], '' , false );
187
187
$ this ->productRepositoryMock ->expects ($ this ->exactly (2 ))->method ('get ' )->will ($ this ->returnValueMap (
188
188
[
189
- ['product ' , false , null , $ productMock ],
190
- ['linkedProduct ' , false , null , $ linkedProductMock ],
189
+ ['product ' , false , null , false , $ productMock ],
190
+ ['linkedProduct ' , false , null , false , $ linkedProductMock ],
191
191
]
192
192
));
193
193
$ entityMock ->expects ($ this ->exactly (2 ))->method ('getLinkedProductSku ' )->willReturn ('linkedProduct ' );
0 commit comments