Skip to content

Commit 71c386c

Browse files
[ACQE-4691] Asserting time instead of date
1 parent 22e47e7 commit 71c386c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/User/Model/UserExpirationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function testLargeExpirationDate(): void
8888
$loadedUserExpiration = $this->userExpirationFactory->create();
8989
$this->userExpirationResource->load($loadedUserExpiration, $this->userExpiration->getId());
9090

91-
self::assertEquals($initialExpirationDate->format('Y-m-d H:i:s'), $loadedUserExpiration->getExpiresAt());
91+
self::assertEquals(strtotime($initialExpirationDate->format('Y-m-d H:i:s')), strtotime($loadedUserExpiration->getExpiresAt()));
9292
}
9393

9494
/**

0 commit comments

Comments
 (0)