Skip to content

Commit 3a604e9

Browse files
committed
ACP2E-412: Cant link configurable options with REST to product created on Backend
1 parent 4f5bd10 commit 3a604e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/tests/api-functional/testsuite/Magento/ConfigurableProduct/Api/OptionRepositoryTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ public function testAdd(): void
167167
$attribute = $attributeRepository->get('catalog_product', 'test_configurable');
168168

169169
$productSku = 'simple';
170-
$product = $this->objectManager->create(ProductRepository::class)->get($productSku);
170+
$productRepository = $this->objectManager->create(ProductRepository::class);
171+
$product = $productRepository->get($productSku);
171172
$this->assertEquals('simple', $product->getTypeId());
172173
$serviceInfo = [
173174
'rest' => [

0 commit comments

Comments
 (0)