Skip to content

Commit 6d2158f

Browse files
committed
ACP2E-977: Incorrect Dashboard YTD values
1 parent 61834aa commit 6d2158f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/code/Magento/Reports/Test/Unit/Model/ResourceModel/Order/CollectionTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,11 @@ protected function setUp(): void
138138
->getMock();
139139
$this->timezoneMock = $this->getMockBuilder(TimezoneInterface::class)
140140
->getMock();
141+
$this->timezoneMock
142+
->expects($this->any())
143+
->method('getConfigTimezone')
144+
->willReturn('America/Chicago');
145+
141146
$this->configMock = $this->getMockBuilder(Config::class)
142147
->disableOriginalConstructor()
143148
->getMock();

0 commit comments

Comments
 (0)