From 69d42818ac24569ccc8688abd398c1dc0243498c Mon Sep 17 00:00:00 2001 From: Francis Hilaire Date: Wed, 28 Jan 2026 14:05:58 +0100 Subject: [PATCH] Fix sprintf format for partial price in Refund context --- tests/Behat/Context/Ui/RefundingContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);