File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
lib/internal/Magento/Framework/Stdlib/Test/Unit/DateTime Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -50,15 +50,16 @@ public function testGtmOffset()
50
50
{
51
51
/** @var TimezoneInterface|\PHPUnit_Framework_MockObject_MockObject $timezone */
52
52
$ timezone = $ this ->getMockBuilder (TimezoneInterface::class)->getMock ();
53
- $ timezone ->method ('getConfigTimezone ' )->willReturn ('Europe/Amsterdam ' );
53
+ // Asia/Tbilisi timezone have no DST
54
+ $ timezone ->method ('getConfigTimezone ' )->willReturn ('Asia/Tbilisi ' );
54
55
55
56
/** @var DateTime|\PHPUnit_Framework_MockObject_MockObject $dateTime */
56
57
$ dateTime = $ this ->getMockBuilder (DateTime::class)
57
58
->setConstructorArgs ([$ timezone ])
58
59
->setMethods (null )
59
60
->getMock ();
60
61
61
- $ this ->assertEquals (3600 , $ dateTime ->getGmtOffset ());
62
+ $ this ->assertEquals (14400 , $ dateTime ->getGmtOffset ());
62
63
}
63
64
64
65
/**
You can’t perform that action at this time.
0 commit comments