protected function setUp()
 {
     $this->_markTestAsRestOnly("JSON generation tests are intended to be executed for REST adapter only.");
     $this->storeCode = Bootstrap::getObjectManager()->get('Magento\\Store\\Model\\StoreManagerInterface')->getStore()->getCode();
     $this->productMetadata = Bootstrap::getObjectManager()->get('Magento\\Framework\\App\\ProductMetadataInterface');
     parent::setUp();
 }
 protected function setUp()
 {
     $objectManager = Bootstrap::getObjectManager();
     $this->customerRepository = $objectManager->get('Magento\\Customer\\Api\\CustomerRepositoryInterface');
     $this->addressRepository = $objectManager->get('Magento\\Customer\\Api\\AddressRepositoryInterface');
     parent::setUp();
 }
 protected function setUp()
 {
     $this->_markTestAsSoapOnly("WSDL generation tests are intended to be executed for SOAP adapter only.");
     $this->_storeCode = Bootstrap::getObjectManager()->get('Magento\\Store\\Model\\StoreManagerInterface')->getStore()->getCode();
     $this->_soapUrl = "{$this->_baseUrl}/soap/{$this->_storeCode}?wsdl=1&services=testModuleMSCAllSoapAndRestV1";
     parent::setUp();
 }
 protected function setUp()
 {
     $objectManager = Bootstrap::getObjectManager();
     /** @var $integrationService \Magento\Integration\Api\IntegrationServiceInterface */
     $integrationService = $objectManager->get('Magento\\Integration\\Api\\IntegrationServiceInterface');
     $params = ['all_resources' => true, 'integration_id' => 1, 'status' => Integration::STATUS_ACTIVE, 'name' => 'Test Integration1'];
     $this->integration = $integrationService->update($params);
     parent::setUp();
 }
예제 #5
0
 protected function setUp()
 {
     $this->_markTestAsRestOnly();
     parent::setUp();
 }
 protected function setUp()
 {
     $this->_markTestAsRestOnly();
     $this->mode = Bootstrap::getObjectManager()->get('Magento\\Framework\\App\\State')->getMode();
     parent::setUp();
 }
 protected function setUp()
 {
     $this->_markTestAsSoapOnly("WSDL generation tests are intended to be executed for SOAP adapter only.");
     $this->_storeCode = Bootstrap::getObjectManager()->get('Magento\\Store\\Model\\StoreManagerInterface')->getStore()->getCode();
     parent::setUp();
 }