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 44
44
$ product = $ objectManager ->create (Product::class);
45
45
$ productId = array_shift ($ productIds );
46
46
$ product ->setTypeId (Type::TYPE_SIMPLE )
47
- ->setId ($ productId )
48
47
->setAttributeSetId ($ attributeSetId )
49
48
->setWebsiteIds ([1 ])
50
49
->setName ('Configurable Option ' . $ option ->getLabel ())
84
83
$ product ->setExtensionAttributes ($ extensionConfigurableAttributes );
85
84
86
85
$ product ->setTypeId (Configurable::TYPE_CODE )
87
- ->setId (1 )
88
86
->setAttributeSetId ($ attributeSetId )
89
87
->setWebsiteIds ([1 ])
90
88
->setName ('Configurable Product ' )
110
108
$ product = $ objectManager ->create (Product::class);
111
109
$ productId = array_shift ($ productIds );
112
110
$ product ->setTypeId (Type::TYPE_SIMPLE )
113
- ->setId ($ productId )
114
111
->setAttributeSetId ($ attributeSetId )
115
112
->setWebsiteIds ([1 ])
116
113
->setName ('Configurable Option ' . $ option ->getLabel ())
155
152
$ product ->setExtensionAttributes ($ extensionConfigurableAttributes );
156
153
157
154
$ product ->setTypeId (Configurable::TYPE_CODE )
158
- ->setId (11 )
159
155
->setAttributeSetId ($ attributeSetId )
160
156
->setWebsiteIds ([1 ])
161
157
->setName ('Configurable Product 12345 ' )
You can’t perform that action at this time.
0 commit comments