@@ -249,6 +249,7 @@ public function testPrepareForCartAdvancedWithoutOptions()
249
249
->willReturn ($ productType );
250
250
$ optionCollection ->expects ($ this ->any ())
251
251
->method ('appendSelections ' )
252
+ ->with ($ selectionCollection , true , true )
252
253
->willReturn ([$ option ]);
253
254
$ productType ->expects ($ this ->once ())
254
255
->method ('setStoreFilter ' );
@@ -433,7 +434,8 @@ function ($key) use ($optionCollection, $selectionCollection) {
433
434
->method ('getItemById ' )
434
435
->willReturn ($ option );
435
436
$ optionCollection ->expects ($ this ->once ())
436
- ->method ('appendSelections ' );
437
+ ->method ('appendSelections ' )
438
+ ->with ($ selectionCollection , true , true );
437
439
$ productType ->expects ($ this ->once ())
438
440
->method ('setStoreFilter ' );
439
441
$ buyRequest ->expects ($ this ->once ())
@@ -668,7 +670,8 @@ function ($key) use ($optionCollection, $selectionCollection) {
668
670
->method ('getItemById ' )
669
671
->willReturn ($ option );
670
672
$ optionCollection ->expects ($ this ->once ())
671
- ->method ('appendSelections ' );
673
+ ->method ('appendSelections ' )
674
+ ->with ($ selectionCollection , true , true );
672
675
$ productType ->expects ($ this ->once ())
673
676
->method ('setStoreFilter ' );
674
677
$ buyRequest ->expects ($ this ->once ())
@@ -891,7 +894,8 @@ function ($key) use ($optionCollection, $selectionCollection) {
891
894
->method ('getItemById ' )
892
895
->willReturn ($ option );
893
896
$ optionCollection ->expects ($ this ->once ())
894
- ->method ('appendSelections ' );
897
+ ->method ('appendSelections ' )
898
+ ->with ($ selectionCollection , true , true );
895
899
$ productType ->expects ($ this ->once ())
896
900
->method ('setStoreFilter ' );
897
901
$ buyRequest ->expects ($ this ->once ())
@@ -1169,7 +1173,8 @@ function ($key) use ($optionCollection, $selectionCollection) {
1169
1173
}
1170
1174
);
1171
1175
$ optionCollection ->expects ($ this ->once ())
1172
- ->method ('appendSelections ' );
1176
+ ->method ('appendSelections ' )
1177
+ ->with ($ selectionCollection , true , true );
1173
1178
$ productType ->expects ($ this ->once ())
1174
1179
->method ('setStoreFilter ' );
1175
1180
$ buyRequest ->expects ($ this ->once ())
0 commit comments