@@ -109,7 +109,7 @@ public function testOptionLinksOfSameProduct(): void
109109 {
110110 /** @var OptionList $optionList */
111111 $ optionList = $ this ->objectManager ->create (OptionList::class);
112- $ product = $ this ->productRepository ->get ('bundle-product ' , true );
112+ $ product = $ this ->productRepository ->get ('bundle-product ' , true , 0 , true );
113113
114114 //set the first option
115115 $ options = $ this ->setBundleProductOptionData ();
@@ -118,7 +118,7 @@ public function testOptionLinksOfSameProduct(): void
118118 $ product ->setExtensionAttributes ($ extension );
119119 $ product ->save ();
120120
121- $ product = $ this ->productRepository ->get ('bundle-product ' , true );
121+ $ product = $ this ->productRepository ->get ('bundle-product ' , true , 0 , true );
122122 $ options = $ optionList ->getItems ($ product );
123123 $ this ->assertCount (1 , $ options );
124124
@@ -138,7 +138,7 @@ public function testOptionLinksOfSameProduct(): void
138138 $ product ->setExtensionAttributes ($ extension );
139139 $ product ->save ();
140140
141- $ product = $ this ->productRepository ->get ('bundle-product ' , true );
141+ $ product = $ this ->productRepository ->get ('bundle-product ' , true , 0 , true );
142142 $ options = $ optionList ->getItems ($ product );
143143 $ this ->assertCount (1 , $ options );
144144 }
0 commit comments