Skip to content

Commit b6462bd

Browse files
committed
ACP2E-420: Price in a Scheduled Update divided by 1000 depending on the Locale
1 parent 9e747d1 commit b6462bd

File tree

3 files changed

+1
-51
lines changed

3 files changed

+1
-51
lines changed

app/code/Magento/Catalog/Test/Mftf/Data/TierPriceData.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<entity name="tierPriceHighCostSimpleProduct" type="data">
4646
<data key="website">All Websites [USD]</data>
4747
<data key="customer_group">ALL GROUPS</data>
48-
<data key="price">500,000.00</data>
48+
<data key="price">500000.00</data>
4949
<data key="qty">1</data>
5050
</entity>
5151
<entity name="tierProductPrice" type="catalogTierPrice">

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateSimpleProductTest/AdminCreateSimpleProductCommaSeparatedPriceTest.xml

Lines changed: 0 additions & 37 deletions
This file was deleted.

app/code/Magento/Catalog/Test/Unit/Ui/DataProvider/Product/Form/Modifier/EavTest.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -330,24 +330,11 @@ protected function setUp(): void
330330
$this->storeMock = $this->getMockBuilder(StoreInterface::class)
331331
->setMethods(['load', 'getId', 'getConfig', 'getBaseCurrencyCode'])
332332
->getMockForAbstractClass();
333-
$this->currencyMock = $this->getMockBuilder(Currency::class)
334-
->disableOriginalConstructor()
335-
->setMethods(['toCurrency'])
336-
->getMock();
337-
$this->currencyLocaleMock = $this->getMockBuilder(CurrencyLocale::class)
338-
->disableOriginalConstructor()
339-
->setMethods(['getCurrency'])
340-
->getMock();
341333
$this->eavAttributeMock->expects($this->any())
342334
->method('load')
343335
->willReturnSelf();
344336

345337
$this->eav =$this->getModel();
346-
$this->objectManager->setBackwardCompatibleProperty(
347-
$this->eav,
348-
'localeCurrency',
349-
$this->currencyLocaleMock
350-
);
351338
}
352339

353340
/**

0 commit comments

Comments
 (0)