Skip to content

Commit

Permalink
fix: enforce max insurance value
Browse files Browse the repository at this point in the history
  • Loading branch information
GravendeelJochem committed Jul 4, 2024
1 parent 8e80018 commit 435994b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [
Expand Down

0 comments on commit 435994b

Please sign in to comment.