diff --git a/tests/Behat/Context/Ui/RefundingContext.php b/tests/Behat/Context/Ui/RefundingContext.php index 8206c74c..35db4d69 100644 --- a/tests/Behat/Context/Ui/RefundingContext.php +++ b/tests/Behat/Context/Ui/RefundingContext.php @@ -113,7 +113,7 @@ public function decideToRefundPartFromProductWithPayment( $this->orderRefundsPage->pickPartOfUnitWithProductToRefund( $productName, $unitNumber-1, - sprintf("%f.2", $partialPrice / 100) + sprintf("%.2f", $partialPrice / 100) ); $this->orderRefundsPage->choosePaymentMethod($paymentMethod);