Skip to content
Snippets Groups Projects
Commit 83a7c1cb authored by Andrii Voskoboinikov's avatar Andrii Voskoboinikov
Browse files

MAGETWO-85904: Investigate fluctuations of PAT Nightly build

parent abdc94c2
No related merge requests found
...@@ -124,7 +124,7 @@ class AuthSessionTest extends \PHPUnit\Framework\TestCase ...@@ -124,7 +124,7 @@ class AuthSessionTest extends \PHPUnit\Framework\TestCase
\Magento\TestFramework\Bootstrap::ADMIN_PASSWORD \Magento\TestFramework\Bootstrap::ADMIN_PASSWORD
); );
$sessionId = $this->authSession->getSessionId(); $sessionId = $this->authSession->getSessionId();
$prolongsDiff = log($this->securityConfig->getAdminSessionLifetime()) + 2; // X from comment above $prolongsDiff = 4 * log($this->securityConfig->getAdminSessionLifetime()) + 2; // X from comment above
$dateInPast = $this->dateTime->formatDate($this->authSession->getUpdatedAt() - $prolongsDiff); $dateInPast = $this->dateTime->formatDate($this->authSession->getUpdatedAt() - $prolongsDiff);
$this->adminSessionsManager->getCurrentSession() $this->adminSessionsManager->getCurrentSession()
->setData( ->setData(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment