Skip to content

Commit 6f17874

Browse files
committed
minor test adjustments
1 parent ae2b9db commit 6f17874

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Vault/CustomerPaymentTokensTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function testGetCustomerPaymentTokens()
9292
$this->assertArrayNotHasKey('gateway_token', $response['customerPaymentTokens']['items'][0]);
9393
$cartDetails1 = json_decode($response['customerPaymentTokens']['items'][0]['details'], true);
9494
$cartDetails2 = json_decode($response['customerPaymentTokens']['items'][1]['details'], true);
95-
$this->assertSame('Visa', $cartDetails1['cc_type']);
95+
$this->assertSame('Visa', $cartDetails1['type']);
9696
$this->assertSame('American Express', $cartDetails2['cc_type']);
9797
}
9898

dev/tests/integration/testsuite/Magento/Vault/_files/payment_tokens.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
'type' => 'card',
5050
'expires_at' => date('Y-m-d h:i:s', strtotime('+1 month')),
5151
'is_active' => 1,
52-
'details' => '{"cc_type":"VI","cc_exp_year":2023,"cc_exp_month":3,"cc_last_4":"8431"}'
52+
'details' => '{"type":"VI","maskedCC":"1117","expirationDate":"11/2023"}'
5353
],
5454
[
5555
'customer_id' => 1,

0 commit comments

Comments
 (0)