@@ -37,8 +37,6 @@ protected function setUp()
37
37
'canShip ' ,
38
38
'getBaseGrandTotal ' ,
39
39
'canCreditmemo ' ,
40
- // 'getState',
41
- // 'setState',
42
40
'getTotalRefunded ' ,
43
41
'hasForcedCanCreditmemo ' ,
44
42
'getIsInProcess ' ,
@@ -131,13 +129,13 @@ public function stateCheckDataProvider()
131
129
'new - canCreditmemo, canShip, !IsInProcess -> new ' =>
132
130
[true , 0 , true , 0 , Order::STATE_NEW , Order::STATE_NEW , false , 1 ],
133
131
'hold - canUnhold -> hold ' =>
134
- [true , 0 , true , 0 , Order::STATE_HOLDED , Order::STATE_HOLDED , false , 0 , false , true , false ],
132
+ [true , 0 , true , 0 , Order::STATE_HOLDED , Order::STATE_HOLDED , false , 0 , false , true ],
135
133
'payment_review - canUnhold -> payment_review ' =>
136
- [true , 0 , true , 0 , Order::STATE_PAYMENT_REVIEW , Order::STATE_PAYMENT_REVIEW , false , 0 , false , false , false ],
134
+ [true , 0 , true , 0 , Order::STATE_PAYMENT_REVIEW , Order::STATE_PAYMENT_REVIEW , false , 0 , false , true ],
137
135
'pending_payment - canUnhold -> pending_payment ' =>
138
- [true , 0 , true , 0 , Order::STATE_PENDING_PAYMENT , Order::STATE_PENDING_PAYMENT , false , 0 , false , false , false ],
136
+ [true , 0 , true , 0 , Order::STATE_PENDING_PAYMENT , Order::STATE_PENDING_PAYMENT , false , 0 , false , true ],
139
137
'cancelled - isCanceled -> cancelled ' =>
140
- [true , 0 , true , 0 , Order::STATE_HOLDED , Order::STATE_HOLDED , false , 0 , true , false , false ],
138
+ [true , 0 , true , 0 , Order::STATE_HOLDED , Order::STATE_HOLDED , false , 0 , true ],
141
139
];
142
140
}
143
141
}
0 commit comments