Skip to content

Commit 46db57d

Browse files
author
Gurzhyi, Andrii
committed
MAGETWO-43491: Implementation of the Select Saved Card Shared Component for Storefront
- Fixed tests
1 parent 726e676 commit 46db57d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

app/code/Magento/Vault/Model/PaymentTokenManagement.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -158,14 +158,6 @@ public function saveTokenWithPaymentLink(PaymentTokenInterface $token, OrderPaym
158158

159159
if (!empty($tokenDuplicate)) {
160160
$token->setEntityId($tokenDuplicate->getEntityId());
161-
162-
// old new expected
163-
// 0 0 0
164-
// 0 1 1
165-
// 1 0 0
166-
// 1 1 1
167-
// $isVisible = (int)$token->getIsActive() > (int)$tokenDuplicate->getIsVisible() ?
168-
// $token->getIsActive() : $tokenDuplicate->getIsVisible();
169161
$token->setIsVisible($token->getIsActive());
170162
}
171163

0 commit comments

Comments
 (0)