Skip to content

Commit 74e1d85

Browse files
hatimeria-artur-jewulaZefiryn
authored andcommitted
#10765 add confirmation and lock_expires labels to customer grid CSV export
1 parent 5f3ef1b commit 74e1d85

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/code/Magento/Customer/Test/Unit/Ui/Component/DataProvider/DocumentTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ public function testGetConfirmationAttribute()
188188
static::assertEquals('Confirmed', (string)$value);
189189
}
190190

191-
192191
/**
193192
* @covers \Magento\Customer\Ui\Component\DataProvider\Document::getCustomAttribute
194193
*/

app/code/Magento/Customer/Ui/Component/DataProvider/Document.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function __construct(
8989
$this->customerMetadata = $customerMetadata;
9090
$this->groupRepository = $groupRepository;
9191
$this->storeManager = $storeManager;
92-
$this->scopeConfig = $scopeConfig ? $scopeConfig : ObjectManager::getInstance()->create(ScopeConfigInterface::class);
92+
$this->scopeConfig = $scopeConfig ?: ObjectManager::getInstance()->create(ScopeConfigInterface::class);
9393
}
9494

9595
/**
@@ -181,7 +181,8 @@ private function setConfirmationValue()
181181
$isConfirmationRequired = (bool)$this->scopeConfig->getValue(
182182
AccountManagement::XML_PATH_IS_CONFIRM,
183183
ScopeInterface::SCOPE_WEBSITES,
184-
$websiteId);
184+
$websiteId
185+
);
185186

186187
$valueText = __('Confirmation Not Required');
187188
if ($isConfirmationRequired) {

0 commit comments

Comments
 (0)