File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
dev/tests/functional/tests/app/Magento/Checkout/Test/Constraint Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,17 +18,17 @@ class AssertGrandTotalOrderReview extends AbstractConstraint
18
18
* Assert that Order Grand Total is correct on checkoutOnePage
19
19
*
20
20
* @param CheckoutOnepage $checkoutOnepage
21
- * @param array $prices
21
+ * @param string $grandTotal
22
22
* @return void
23
23
*/
24
- public function processAssert (CheckoutOnepage $ checkoutOnepage , array $ prices )
24
+ public function processAssert (CheckoutOnepage $ checkoutOnepage , $ grandTotal )
25
25
{
26
26
$ checkoutReviewGrandTotal = $ checkoutOnepage ->getReviewBlock ()->getGrandTotal ();
27
27
28
28
\PHPUnit_Framework_Assert::assertEquals (
29
29
$ checkoutReviewGrandTotal ,
30
- number_format ($ prices [ ' grandTotal ' ] , 2 ),
31
- "Grand Total price: $ checkoutReviewGrandTotal not equals with price from data set: " . $ prices [ ' grandTotal ' ]
30
+ number_format ($ grandTotal , 2 ),
31
+ "Grand Total price: $ checkoutReviewGrandTotal not equals with price from data set: " . $ grandTotal
32
32
);
33
33
}
34
34
You can’t perform that action at this time.
0 commit comments