We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22e47e7 commit 71c386cCopy full SHA for 71c386c
dev/tests/integration/testsuite/Magento/User/Model/UserExpirationTest.php
@@ -88,7 +88,7 @@ public function testLargeExpirationDate(): void
88
$loadedUserExpiration = $this->userExpirationFactory->create();
89
$this->userExpirationResource->load($loadedUserExpiration, $this->userExpiration->getId());
90
91
- self::assertEquals($initialExpirationDate->format('Y-m-d H:i:s'), $loadedUserExpiration->getExpiresAt());
+ self::assertEquals(strtotime($initialExpirationDate->format('Y-m-d H:i:s')), strtotime($loadedUserExpiration->getExpiresAt()));
92
}
93
94
/**
0 commit comments