Skip to content

Commit d470df7

Browse files
author
Mike Weis
committed
MAGETWO-27267: Add getTierPrices() to the Product
- resolve merge conflict
1 parent e46aa79 commit d470df7

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductRepositoryInterfaceTest.php

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -64,24 +64,6 @@ protected function getProduct($sku)
6464
return $response;
6565
}
6666

67-
protected function getProduct($sku)
68-
{
69-
$serviceInfo = [
70-
'rest' => [
71-
'resourcePath' => self::RESOURCE_PATH . '/' . $sku,
72-
'httpMethod' => \Magento\Framework\Webapi\Rest\Request::HTTP_METHOD_GET,
73-
],
74-
'soap' => [
75-
'service' => self::SERVICE_NAME,
76-
'serviceVersion' => self::SERVICE_VERSION,
77-
'operation' => self::SERVICE_NAME . 'Get',
78-
],
79-
];
80-
81-
$response = $this->_webApiCall($serviceInfo, ['sku' => $sku]);
82-
return $response;
83-
}
84-
8567
public function testGetNoSuchEntityException()
8668
{
8769
$invalidSku = '(nonExistingSku)';
@@ -468,30 +450,6 @@ protected function updateProduct($product)
468450
return $response;
469451
}
470452

471-
protected function updateProduct($product)
472-
{
473-
$sku = $product[ProductInterface::SKU];
474-
if (TESTS_WEB_API_ADAPTER == self::ADAPTER_REST) {
475-
$product[ProductInterface::SKU] = null;
476-
}
477-
478-
$serviceInfo = [
479-
'rest' => [
480-
'resourcePath' => self::RESOURCE_PATH . '/' . $sku,
481-
'httpMethod' => \Magento\Framework\Webapi\Rest\Request::HTTP_METHOD_PUT,
482-
],
483-
'soap' => [
484-
'service' => self::SERVICE_NAME,
485-
'serviceVersion' => self::SERVICE_VERSION,
486-
'operation' => self::SERVICE_NAME . 'Save',
487-
],
488-
];
489-
$requestData = ['product' => $product];
490-
$response = $this->_webApiCall($serviceInfo, $requestData);
491-
return $response;
492-
}
493-
494-
495453
/**
496454
* @magentoApiDataFixture Magento/Catalog/_files/product_simple.php
497455
*/

0 commit comments

Comments
 (0)