Skip to content

Commit fa821da

Browse files
#29549: Scheduled price rule time zone correction - test update.
1 parent d6b3c40 commit fa821da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/CatalogRule/Model/Indexer/IndexerBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function testReindexByIdDifferentTimezones()
118118
$this->resourceRule->getRulesFromProduct($timestamp, $secondWebsiteId, 1, $productId);
119119

120120
$this->assertCount(1, $mainWebsiteActiveRules);
121-
// Avoid failure then staging is enabled as it removes catalog rule timestamp.
121+
// Avoid failure when staging is enabled as it removes catalog rule timestamp.
122122
if ((int)$mainWebsiteActiveRules[0]['from_time'] !== 0) {
123123
$this->assertCount(0, $secondWebsiteActiveRules);
124124
}

0 commit comments

Comments
 (0)