File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
dev/tests/integration/testsuite/Magento/ConfigurableProduct/_files Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 4444 $ product = $ objectManager ->create (Product::class);
4545 $ productId = array_shift ($ productIds );
4646 $ product ->setTypeId (Type::TYPE_SIMPLE )
47- ->setId ($ productId )
4847 ->setAttributeSetId ($ attributeSetId )
4948 ->setWebsiteIds ([1 ])
5049 ->setName ('Configurable Option ' . $ option ->getLabel ())
8483$ product ->setExtensionAttributes ($ extensionConfigurableAttributes );
8584
8685$ product ->setTypeId (Configurable::TYPE_CODE )
87- ->setId (1 )
8886 ->setAttributeSetId ($ attributeSetId )
8987 ->setWebsiteIds ([1 ])
9088 ->setName ('Configurable Product ' )
110108 $ product = $ objectManager ->create (Product::class);
111109 $ productId = array_shift ($ productIds );
112110 $ product ->setTypeId (Type::TYPE_SIMPLE )
113- ->setId ($ productId )
114111 ->setAttributeSetId ($ attributeSetId )
115112 ->setWebsiteIds ([1 ])
116113 ->setName ('Configurable Option ' . $ option ->getLabel ())
155152$ product ->setExtensionAttributes ($ extensionConfigurableAttributes );
156153
157154$ product ->setTypeId (Configurable::TYPE_CODE )
158- ->setId (11 )
159155 ->setAttributeSetId ($ attributeSetId )
160156 ->setWebsiteIds ([1 ])
161157 ->setName ('Configurable Product 12345 ' )
You can’t perform that action at this time.
0 commit comments