mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 15:18:05 +00:00
Fix tests.
This commit is contained in:
@@ -71,7 +71,7 @@ class CurrencyMapper
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
if (null === $data['code']) {
|
||||
if (!isset($data['code']) || $data['code'] === null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -282,7 +282,7 @@ class ImportableConverter
|
||||
'piggy_bank_id' => null,
|
||||
'piggy_bank_name' => null,
|
||||
'bill_id' => $billId,
|
||||
'bill_name' => null === $billId ? $importable->billName : null,
|
||||
'bill_name' => $importable->billName,
|
||||
|
||||
// transaction data:
|
||||
'transactions' => [
|
||||
|
||||
Reference in New Issue
Block a user