Skip to content

Commit 7a78408

Browse files
committed
MAGETWO-60453: DeleteSavedCreditCardTest fails on bamboo
- added alternative Visa
1 parent eebec4f commit 7a78408

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

dev/tests/functional/tests/app/Magento/Payment/Test/Repository/CreditCard.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,15 @@
1414
<field name="cc_cid" xsi:type="string">123</field>
1515
</dataset>
1616

17+
<dataset name="visa_alt">
18+
<field name="cc_number" xsi:type="string">4012888888881881</field>
19+
<field name="cc_exp_month" xsi:type="string">02 - February</field>
20+
<field name="cc_exp_year" xsi:type="string">2021</field>
21+
<field name="cc_cid" xsi:type="string">123</field>
22+
</dataset>
23+
1724
<dataset name="amex_default">
18-
<field name="cc_number" xsi:type="string">371449635398431</field>
25+
<field name="cc_number" xsi:type="string">378282246310005</field>
1926
<field name="cc_exp_month" xsi:type="string">02 - February</field>
2027
<field name="cc_exp_year" xsi:type="string">2021</field>
2128
<field name="cc_cid" xsi:type="string">1234</field>

dev/tests/functional/tests/app/Magento/Vault/Test/TestCase/DeleteSavedCreditCardTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<item name="method" xsi:type="string">payflowpro</item>
2727
<item name="creditCardClass" xsi:type="string">credit_card</item>
2828
<item name="creditCard" xsi:type="array">
29-
<item name="dataset" xsi:type="string">amex_default</item>
29+
<item name="dataset" xsi:type="string">visa_alt</item>
3030
</item>
3131
</item>
3232
<item name="2" xsi:type="array">
@@ -43,7 +43,7 @@
4343
<item name="method" xsi:type="string">payflowpro</item>
4444
<item name="creditCardClass" xsi:type="string">credit_card</item>
4545
<item name="creditCard" xsi:type="array">
46-
<item name="dataset" xsi:type="string">amex_default</item>
46+
<item name="dataset" xsi:type="string">visa_alt</item>
4747
</item>
4848
<item name="vault" xsi:type="array">
4949
<item name="method" xsi:type="string">payflowpro_cc_vault</item>

0 commit comments

Comments
 (0)