Skip to content

Commit 228451f

Browse files
committed
[10.x] add WALLET_CURRENCY_STRICT
1 parent 26f34a1 commit 228451f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

config/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
/**
8686
* Mode of strict work with currencies.
8787
*/
88-
'currency_strict' => false,
88+
'currency_strict' => env('WALLET_CURRENCY_STRICT', false),
8989
],
9090

9191
/**

phpunit.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<env name="DB_PASSWORD" value="wallet"/>
2020
<env name="WALLET_CACHE_DRIVER" value="array"/>
2121
<env name="WALLET_LOCK_DRIVER" value="array"/>
22+
<env name="WALLET_CURRENCY_STRICT" value="false"/>
2223
</php>
2324
<source>
2425
<include>

0 commit comments

Comments
 (0)