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 17
17
*/
18
18
class OptionRepositoryTest extends \Magento \TestFramework \TestCase \WebapiAbstract
19
19
{
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 ' ;
23
23
24
24
/**
25
25
* @magentoApiDataFixture Magento/ConfigurableProduct/_files/product_configurable.php
@@ -167,7 +167,7 @@ public function testAdd(): void
167
167
$ attribute = $ attributeRepository ->get ('catalog_product ' , 'test_configurable ' );
168
168
169
169
$ productSku = 'simple ' ;
170
- $ productRepository = $ this -> objectManager ->create (ProductRepository::class);
170
+ $ productRepository = Bootstrap:: getObjectManager () ->create (ProductRepository::class);
171
171
$ product = $ productRepository ->get ($ productSku );
172
172
$ this ->assertEquals ('simple ' , $ product ->getTypeId ());
173
173
$ serviceInfo = [
You can’t perform that action at this time.
0 commit comments