Skip to content

Commit 611aefa

Browse files
committed
fixed static test
1 parent e9ffad2 commit 611aefa

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

app/code/Magento/Catalog/Model/Product/Price/BasePriceStorage.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
/**
2323
* Base prices storage.
24+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2425
*/
2526
class BasePriceStorage implements BasePriceStorageInterface
2627
{
@@ -98,8 +99,8 @@ class BasePriceStorage implements BasePriceStorageInterface
9899
* @param ProductRepositoryInterface $productRepository
99100
* @param Result $validationResult
100101
* @param InvalidSkuProcessor $invalidSkuProcessor
101-
* @param ProductAttributeRepositoryInterface|null $productAttributeRepository
102102
* @param array $allowedProductTypes [optional]
103+
* @param ProductAttributeRepositoryInterface|null $productAttributeRepository
103104
*/
104105
public function __construct(
105106
PricePersistenceFactory $pricePersistenceFactory,

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
use Magento\TestFramework\Helper\Bootstrap;
1010
use Magento\TestFramework\TestCase\WebapiAbstract;
11+
use Magento\Store\Model\Store;
1112

1213
class ProductRepositoryPriceModeWebsiteChangePriceTest extends WebapiAbstract
1314
{
@@ -29,11 +30,11 @@ class ProductRepositoryPriceModeWebsiteChangePriceTest extends WebapiAbstract
2930
public function testChangePriceForStore()
3031
{
3132
/** @var $store1 \Magento\Store\Model\Group */
32-
$store1 = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Store\Model\Store::class);
33+
$store1 = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(Store::class);
3334
$store1->load(self::STORE1_CODE_FROM_FIXTURE);
3435

3536
/** @var $store2 \Magento\Store\Model\Group */
36-
$store2 = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Store\Model\Store::class);
37+
$store2 = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(Store::class);
3738
$store2->load(self::STORE2_CODE_FROM_FIXTURE);
3839

3940
$sku = 'simple';

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
use Magento\TestFramework\TestCase\WebapiAbstract;
1111

1212
/**
13-
* Class ProductTierPriceManagementTest
14-
*
15-
* @package Magento\Catalog\Api
13+
* ProductTierPriceManagementTest API operations test
1614
*/
1715
class ProductTierPriceManagementTest extends WebapiAbstract
1816
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Magento\TestFramework\TestCase\WebapiAbstract;
99

1010
/**
11-
* TierPriceStorage test.
11+
* TierPriceStorage API operations test.
1212
*/
1313
class TierPriceStorageTest extends WebapiAbstract
1414
{

0 commit comments

Comments
 (0)