mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Update amount test codes.
This commit is contained in:
parent
3bc9905715
commit
b43669e731
@ -13,7 +13,6 @@ install:
|
|||||||
- cp .env.testing .env
|
- cp .env.testing .env
|
||||||
- php artisan clear-compiled
|
- php artisan clear-compiled
|
||||||
- php artisan env
|
- php artisan env
|
||||||
- cp .env.testing .env
|
|
||||||
- wget -q https://github.com/firefly-iii/test-data/raw/master/storage/database.sqlite -O storage/database/database.sqlite
|
- wget -q https://github.com/firefly-iii/test-data/raw/master/storage/database.sqlite -O storage/database/database.sqlite
|
||||||
- mkdir -p build/logs
|
- mkdir -p build/logs
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ class AmountCreditTest extends TestCase
|
|||||||
public function testConvert(): void
|
public function testConvert(): void
|
||||||
{
|
{
|
||||||
$values = [
|
$values = [
|
||||||
'0' => '0.000000000000',
|
'0' => '0',
|
||||||
'0.0' => '0.000000000000',
|
'0.0' => '0',
|
||||||
'0.1' => '0.1',
|
'0.1' => '0.1',
|
||||||
'.2' => '0.2',
|
'.2' => '0.2',
|
||||||
'0.01' => '0.01',
|
'0.01' => '0.01',
|
||||||
|
Loading…
Reference in New Issue
Block a user