Skip to content

Commit

Permalink
Fix product variants resolver spec to use getEnabledVariants
Browse files Browse the repository at this point in the history
  • Loading branch information
mmenozzi committed May 13, 2020
1 parent 404fd00 commit 5dca15e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function it_provides_array_containing_product_variant_options_map_with_correspon
ProductVariantInterface $whiteSmallTShirt,
ProductVariantPriceCalculatorInterface $productVariantPriceCalculator
): void {
$tShirt->getVariants()->willReturn(new ArrayCollection([
$tShirt->getEnabledVariants()->willReturn(new ArrayCollection([
$blackSmallTShirt->getWrappedObject(),
$whiteSmallTShirt->getWrappedObject(),
$blackLargeTShirt->getWrappedObject(),
Expand Down

0 comments on commit 5dca15e

Please sign in to comment.