Skip to content

Commit 94a6dc4

Browse files
committed
MC-5777: Catalog rule does not apply as expected in EE
* Fixed broken unit test
1 parent 4ad02b2 commit 94a6dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogRule/Test/Unit/Pricing/Price/CatalogRulePriceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public function testGetValue()
170170
$coreWebsiteId = 1;
171171
$productId = 1;
172172
$customerGroupId = 1;
173-
$dateTime = time();
173+
$dateTime = new \DateTime();
174174

175175
$catalogRulePrice = 55.12;
176176
$convertedPrice = 45.34;

0 commit comments

Comments
 (0)