Skip to content

Commit 2e15e10

Browse files
author
Sergey Shvets
committed
MAGETWO-82132: Comma special character in cart price rule condition value results in incorrect rule
1 parent 7dee5fc commit 2e15e10

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

app/code/Magento/SalesRule/Test/Unit/Model/Rule/Condition/ProductTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ public function testQuoteLocaleFormatPrice($isValid, $conditionValue, $operator
301301
$this->assertEquals($isValid, $this->model->setValue($conditionValue)->validate($item));
302302
}
303303

304-
305304
/**
306305
* DataProvider for testQuoteLocaleFormatPrice
307306
*
@@ -317,5 +316,4 @@ public function localisationProvider(): array
317316
'smallPrice' => [false, '1,500.03', '>=', 1000],
318317
];
319318
}
320-
321319
}

lib/internal/Magento/Framework/Locale/Test/Unit/FormatTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ public function getPriceFormatDataProvider()
9191
];
9292
}
9393

94-
9594
/**
9695
* @param float | null $expected
9796
* @param string|float|int $value
@@ -102,7 +101,6 @@ public function testGetNumber($value, $expected)
102101
$this->assertEquals($expected, $this->formatModel->getNumber($value));
103102
}
104103

105-
106104
/**
107105
* @return array
108106
*/

0 commit comments

Comments
 (0)