We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f5bd10 commit 3a604e9Copy full SHA for 3a604e9
dev/tests/api-functional/testsuite/Magento/ConfigurableProduct/Api/OptionRepositoryTest.php
@@ -167,7 +167,8 @@ public function testAdd(): void
167
$attribute = $attributeRepository->get('catalog_product', 'test_configurable');
168
169
$productSku = 'simple';
170
- $product = $this->objectManager->create(ProductRepository::class)->get($productSku);
+ $productRepository = $this->objectManager->create(ProductRepository::class);
171
+ $product = $productRepository->get($productSku);
172
$this->assertEquals('simple', $product->getTypeId());
173
$serviceInfo = [
174
'rest' => [
0 commit comments