From 435994b553fecf0d1d0a9cce79db1faae8846029 Mon Sep 17 00:00:00 2001 From: jochemgravendeel Date: Thu, 4 Jul 2024 10:29:26 +0200 Subject: [PATCH] fix: enforce max insurance value --- .../Order/Calculator/General/InsuranceCalculatorTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Unit/App/Order/Calculator/General/InsuranceCalculatorTest.php b/tests/Unit/App/Order/Calculator/General/InsuranceCalculatorTest.php index 31a586c56..e718dd6b1 100644 --- a/tests/Unit/App/Order/Calculator/General/InsuranceCalculatorTest.php +++ b/tests/Unit/App/Order/Calculator/General/InsuranceCalculatorTest.php @@ -193,12 +193,12 @@ 'result' => 300000, ], - 'value € 5000, insured up to € 3000 -> € 10000' => [ + 'value € 5000, insured up to € 3000 -> € 3000' => [ [ - 'orderPrice' => 5000, + 'orderPrice' => 500000, 'settings' => [CarrierSettings::EXPORT_INSURANCE_UP_TO => 300000], ], - 'result' => 10000, + 'result' => 300000, ], 'value € 310, percentage 50 -> rounded up to € 250' => [