Skip to content

Commit 8a9cd9e

Browse files
author
Volodymyr Kublytskyi
committed
Fixed static tests failure
1 parent 31a8630 commit 8a9cd9e

File tree

1 file changed

+4
-2
lines changed
  • app/code/Magento/Customer/Controller/Ajax

1 file changed

+4
-2
lines changed

app/code/Magento/Customer/Controller/Ajax/Login.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,10 @@ public function __construct(
9898
$this->customerAccountManagement = $customerAccountManagement;
9999
$this->resultJsonFactory = $resultJsonFactory;
100100
$this->resultRawFactory = $resultRawFactory;
101-
$this->cookieManager = $cookieManager ?: ObjectManager::getInstance()->get(CookieManagerInterface::class);
102-
$this->cookieMetadataFactory = $cookieMetadataFactory ?: ObjectManager::getInstance()->get(CookieMetadataFactory::class);
101+
$this->cookieManager = $cookieManager ?:
102+
ObjectManager::getInstance()->get(CookieManagerInterface::class);
103+
$this->cookieMetadataFactory = $cookieMetadataFactory ?:
104+
ObjectManager::getInstance()->get(CookieMetadataFactory::class);
103105
}
104106

105107
/**

0 commit comments

Comments
 (0)