Skip to content

Commit 9e51c8e

Browse files
Merge remote-tracking branch 'engcom-Charlie/25907' into 25907
2 parents cb230b5 + d30fea0 commit 9e51c8e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,6 @@ public function testUpdate(array $data)
153153
*/
154154
public function testDeleteWhenPriceIsGlobal(): void
155155
{
156-
$fromDate = '2037-01-19 03:14:07';
157-
158156
$serviceInfo = [
159157
'rest' => [
160158
'resourcePath' => '/V1/products/special-price-delete',
@@ -171,7 +169,13 @@ public function testDeleteWhenPriceIsGlobal(): void
171169
$serviceInfo,
172170
[
173171
'prices' => [
174-
['price' => 777, 'store_id' => 1, 'sku' => self::SIMPLE_PRODUCT_SKU, 'price_from' => $fromDate]
172+
[
173+
'price' => 777,
174+
'store_id' => 1,
175+
'sku' => self::SIMPLE_PRODUCT_SKU,
176+
'price_from' => '2037-01-19 03:14:07',
177+
'price_to' => '2038-01-19 03:14:07'
178+
]
175179
]
176180
]
177181
);

0 commit comments

Comments
 (0)