File tree Expand file tree Collapse file tree 5 files changed +13
-9
lines changed
Repository/OrderInjectable Expand file tree Collapse file tree 5 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"require" : {
3
- "magento/mtf" : " 1.0.0-rc51 " ,
3
+ "magento/mtf" : " 1.0.0-rc52 " ,
4
4
"php" : " ~5.6.5|7.0.2|~7.0.6" ,
5
5
"phpunit/phpunit" : " ~4.8.0|~5.5.0" ,
6
6
"phpunit/phpunit-selenium" : " >=1.2"
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ class PlaceOrderWithPaypalStep implements TestStepInterface
81
81
* @param CheckoutOnepageSuccess $checkoutOnepageSuccess
82
82
* @param FixtureFactory $fixtureFactory
83
83
* @param array $products
84
- * @param array|null $prices
84
+ * @param array $prices
85
85
* @param OrderInjectable|null $order
86
86
*/
87
87
public function __construct (
Original file line number Diff line number Diff line change @@ -72,26 +72,26 @@ class PlaceOrderStep implements TestStepInterface
72
72
* @param AssertGrandTotalOrderReview $assertGrandTotalOrderReview
73
73
* @param CheckoutOnepageSuccess $checkoutOnepageSuccess
74
74
* @param FixtureFactory $fixtureFactory
75
+ * @param array $products
76
+ * @param array $prices
75
77
* @param OrderInjectable|null $order
76
- * @param array|null $products
77
- * @param array|null $prices
78
78
*/
79
79
public function __construct (
80
80
CheckoutOnepage $ checkoutOnepage ,
81
81
AssertGrandTotalOrderReview $ assertGrandTotalOrderReview ,
82
82
CheckoutOnepageSuccess $ checkoutOnepageSuccess ,
83
83
FixtureFactory $ fixtureFactory ,
84
- OrderInjectable $ order = null ,
85
84
array $ products = [],
86
- array $ prices = []
85
+ array $ prices = [],
86
+ OrderInjectable $ order = null
87
87
) {
88
88
$ this ->checkoutOnepage = $ checkoutOnepage ;
89
89
$ this ->assertGrandTotalOrderReview = $ assertGrandTotalOrderReview ;
90
90
$ this ->checkoutOnepageSuccess = $ checkoutOnepageSuccess ;
91
91
$ this ->fixtureFactory = $ fixtureFactory ;
92
- $ this ->order = $ order ;
93
92
$ this ->products = $ products ;
94
93
$ this ->prices = $ prices ;
94
+ $ this ->order = $ order ;
95
95
}
96
96
97
97
/**
Original file line number Diff line number Diff line change 66
66
</dataset >
67
67
68
68
<dataset name =" full_flow" >
69
+ <field name =" refund" xsi : type =" array" >
70
+ <item name =" 0" xsi : type =" array" >
71
+ <item name =" grand_creditmemo_total" xsi : type =" string" >565</item >
72
+ </item >
73
+ </field >
69
74
<field name =" 0" xsi : type =" array" >
70
- <item name =" grand_creditmemo_total" xsi : type =" string" >565</item >
71
75
<item name =" grand_invoice_total" xsi : type =" string" >565</item >
72
76
<item name =" grand_order_total" xsi : type =" string" >565</item >
73
77
</field >
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ class SubmitOrderStep implements TestStepInterface
61
61
private $ products ;
62
62
63
63
/**
64
+ * @constructor
64
65
* @param OrderCreateIndex $orderCreateIndex
65
66
* @param SalesOrderView $salesOrderView
66
67
* @param FixtureFactory $fixtureFactory
@@ -80,7 +81,6 @@ public function __construct(
80
81
$ this ->salesOrderView = $ salesOrderView ;
81
82
$ this ->fixtureFactory = $ fixtureFactory ;
82
83
$ this ->customer = $ customer ;
83
- $ this ->products = $ products ;
84
84
$ this ->billingAddress = $ billingAddress ;
85
85
$ this ->products = $ products ;
86
86
}
You can’t perform that action at this time.
0 commit comments