File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
app/code/Magento/Bundle/Test/Unit/Model/Product Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -513,10 +513,6 @@ function ($key) use ($optionCollection, $selectionCollection) {
513
513
->method ('getSelectionId ' )
514
514
->willReturn (314 );
515
515
516
- $ this ->priceCurrency ->expects ($ this ->once ())
517
- ->method ('convert ' )
518
- ->willReturn (3.14 );
519
-
520
516
$ result = $ this ->model ->prepareForCartAdvanced ($ buyRequest , $ product );
521
517
$ this ->assertEquals ([$ product , $ productType ], $ result );
522
518
}
@@ -737,10 +733,6 @@ function ($key) use ($optionCollection, $selectionCollection) {
737
733
->method ('prepareForCart ' )
738
734
->willReturn ([]);
739
735
740
- $ this ->priceCurrency ->expects ($ this ->once ())
741
- ->method ('convert ' )
742
- ->willReturn (3.14 );
743
-
744
736
$ result = $ this ->model ->prepareForCartAdvanced ($ buyRequest , $ product );
745
737
$ this ->assertEquals ('We can \'t add this item to your shopping cart right now. ' , $ result );
746
738
}
@@ -961,10 +953,6 @@ function ($key) use ($optionCollection, $selectionCollection) {
961
953
->method ('prepareForCart ' )
962
954
->willReturn ('string ' );
963
955
964
- $ this ->priceCurrency ->expects ($ this ->once ())
965
- ->method ('convert ' )
966
- ->willReturn (3.14 );
967
-
968
956
$ result = $ this ->model ->prepareForCartAdvanced ($ buyRequest , $ product );
969
957
$ this ->assertEquals ('string ' , $ result );
970
958
}
You can’t perform that action at this time.
0 commit comments