Skip to content

Commit

Permalink
fix webapi test
Browse files Browse the repository at this point in the history
  • Loading branch information
engcom-Charlie committed Dec 30, 2020
1 parent de30e9c commit 8f843ef
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class SpecialPriceStorageTest extends WebapiAbstract
const SERVICE_VERSION = 'V1';
const SIMPLE_PRODUCT_SKU = 'simple';
const VIRTUAL_PRODUCT_SKU = 'virtual-product';
private const PRODUCT_SKU_TWO_WEBSITES = 'simple-on-two-websites';

/**
* @var ObjectManager
Expand Down Expand Up @@ -167,7 +168,7 @@ public function testDeleteWhenPriceIsGlobal(): void
/**
* Test delete method.
*
* @magentoApiDataFixture Magento/Catalog/_files/product_simple.php
* @magentoApiDataFixture Magento/Catalog/_files/product_two_websites.php
* @magentoConfigFixture catalog/price/scope 1
* @dataProvider deleteData
* @param array $data
Expand Down Expand Up @@ -269,7 +270,7 @@ public function deleteData(): array
[
'price' => 3057,
'store_id' => 0,
'sku' => self::SIMPLE_PRODUCT_SKU,
'sku' => self::PRODUCT_SKU_TWO_WEBSITES,
'price_from' => $fromDate,
'price_to' => $toDate
]
Expand All @@ -278,7 +279,7 @@ public function deleteData(): array
[
'price' => 3057,
'store_id' => 0,
'sku' => self::SIMPLE_PRODUCT_SKU,
'sku' => self::PRODUCT_SKU_TWO_WEBSITES,
'price_from' => $fromDate,
'price_to' => false
]
Expand Down

0 comments on commit 8f843ef

Please sign in to comment.