File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
dev/tests/api-functional/testsuite/Magento/ConfigurableProduct/Api Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1717 */
1818class OptionRepositoryTest extends \Magento \TestFramework \TestCase \WebapiAbstract
1919{
20- const SERVICE_NAME = 'configurableProductOptionRepositoryV1 ' ;
21- const SERVICE_VERSION = 'V1 ' ;
22- const RESOURCE_PATH = '/V1/configurable-products ' ;
20+ public const SERVICE_NAME = 'configurableProductOptionRepositoryV1 ' ;
21+ public const SERVICE_VERSION = 'V1 ' ;
22+ public const RESOURCE_PATH = '/V1/configurable-products ' ;
2323
2424 /**
2525 * @magentoApiDataFixture Magento/ConfigurableProduct/_files/product_configurable.php
@@ -167,7 +167,7 @@ public function testAdd(): void
167167 $ attribute = $ attributeRepository ->get ('catalog_product ' , 'test_configurable ' );
168168
169169 $ productSku = 'simple ' ;
170- $ productRepository = $ this -> objectManager ->create (ProductRepository::class);
170+ $ productRepository = Bootstrap:: getObjectManager () ->create (ProductRepository::class);
171171 $ product = $ productRepository ->get ($ productSku );
172172 $ this ->assertEquals ('simple ' , $ product ->getTypeId ());
173173 $ serviceInfo = [
You can’t perform that action at this time.
0 commit comments