Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 0230e25

Browse files
author
Dmytro Yushkin
committed
MAGETWO-65119: Create/update automated functional tests
- Updated tests with new variables
1 parent bd39aca commit 0230e25

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Test/Constraint/AssertCaseInfoOnAdmin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public function processAssert(
6060

6161
$this->checkCaseGuaranteeDisposition();
6262
}
63+
6364
/**
6465
* Checks case guarantee disposition is correct.
6566
*

Test/Repository/ConfigData.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
<item name="label" xsi:type="string">Yes</item>
1515
<item name="value" xsi:type="number">1</item>
1616
</field>
17-
<field name="fraud_protection/signifyd/api_key" xsi:type="array">
17+
<field name="fraud_protection/signifyd/config/api_key" xsi:type="array">
1818
<item name="scope" xsi:type="string">fraud_protection</item>
1919
<item name="scope_id" xsi:type="number">1</item>
2020
<item name="label" xsi:type="string"/>
21-
<item name="value" xsi:type="string">SIGNIFYD_API_KEY</item>
21+
<item name="value" xsi:type="string">SIGNIFYD_CONFIG_API_KEY</item>
2222
</field>
2323
<field name="fraud_protection/signifyd/api_url" xsi:type="array">
2424
<item name="scope" xsi:type="string">fraud_protection</item>

Test/TestCase/CreateSignifydGuaranteeAndCancelOrderTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<data name="shipping/shipping_service" xsi:type="string">Flat Rate</data>
1818
<data name="shipping/shipping_method" xsi:type="string">Fixed</data>
1919
<data name="payment/method" xsi:type="string">braintree</data>
20+
<data name="paymentForm" xsi:type="string">braintree</data>
2021
<data name="prices/grandTotal" xsi:type="string">15.00</data>
2122
<data name="prices/grandTotalCurrency" xsi:type="string">USD</data>
2223
<data name="creditCard/dataset" xsi:type="string">visa_default</data>
@@ -44,6 +45,7 @@
4445
<data name="shipping/shipping_service" xsi:type="string">Flat Rate</data>
4546
<data name="shipping/shipping_method" xsi:type="string">Fixed</data>
4647
<data name="payment/method" xsi:type="string">braintree</data>
48+
<data name="paymentForm" xsi:type="string">braintree</data>
4749
<data name="prices/grandTotal" xsi:type="string">15.00</data>
4850
<data name="prices/grandTotalCurrency" xsi:type="string">USD</data>
4951
<data name="creditCard/dataset" xsi:type="string">visa_default</data>

0 commit comments

Comments
 (0)