Skip to content

Commit

Permalink
Fixed test (#4284)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel authored Oct 17, 2024
1 parent 6d3ff44 commit aa10034
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/unit/Mage/Core/Helper/DataTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function testFormatTimezoneDate(
$data,
string $format = Mage_Core_Model_Locale::FORMAT_TYPE_SHORT,
bool $showTime = false,
bool $useTimezone = true
bool $useTimezone = false # disable timezone by default for tests
): void {
$this->assertSame($expectedResult, $this->subject->formatTimezoneDate($data, $format, $showTime, $useTimezone));
}
Expand Down Expand Up @@ -131,12 +131,6 @@ public function provideFormatTimezoneDate(): Generator
$date,
'long'
];
// yield 'date short w/ time and w/ timezone' => [
// $dateShortTime,
// $date,
// 'short',
// true
// ];
yield 'date short w/ time' => [
$dateShortTime,
$date,
Expand Down

0 comments on commit aa10034

Please sign in to comment.