Skip to content

Commit 7786276

Browse files
committed
updated tests
1 parent 70c3f7d commit 7786276

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/unit/Mage/Admin/Model/UserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static function setUpBeforeClass(): void
4040
* @group runInSeparateProcess
4141
* @runInSeparateProcess
4242
*/
43-
public function testAuthenticate(string $expectedResult, array $methods): void
43+
public function testAuthenticate(bool|string $expectedResult, array $methods): void
4444
{
4545
$mock = $this->getMockBuilder(Subject::class)
4646
->setMethods([

tests/unit/Mage/Core/Helper/DataTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function testValidateKey(): void
8181
*/
8282
public function testFormatTimezoneDate(
8383
string $expectedResult,
84-
?string $data,
84+
string|int|null $data,
8585
string $format = Mage_Core_Model_Locale::FORMAT_TYPE_SHORT,
8686
bool $showTime = false,
8787
bool $useTimezone = false # disable timezone by default for tests

0 commit comments

Comments
 (0)