Skip to content

Commit

Permalink
fix webapi test
Browse files Browse the repository at this point in the history
  • Loading branch information
engcom-Charlie authored Jan 4, 2021
1 parent 287084c commit d30fea0
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ public function testUpdate(array $data)
*/
public function testDeleteWhenPriceIsGlobal(): void
{
$fromDate = '2037-01-19 03:14:07';

$serviceInfo = [
'rest' => [
'resourcePath' => '/V1/products/special-price-delete',
Expand All @@ -159,7 +157,13 @@ public function testDeleteWhenPriceIsGlobal(): void
$serviceInfo,
[
'prices' => [
['price' => 777, 'store_id' => 1, 'sku' => self::SIMPLE_PRODUCT_SKU, 'price_from' => $fromDate]
[
'price' => 777,
'store_id' => 1,
'sku' => self::SIMPLE_PRODUCT_SKU,
'price_from' => '2037-01-19 03:14:07',
'price_to' => '2038-01-19 03:14:07'
]
]
]
);
Expand Down

0 comments on commit d30fea0

Please sign in to comment.