mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Improve test coverage.
This commit is contained in:
@@ -156,7 +156,7 @@ class ImportableConverter
|
||||
'transactions' => [
|
||||
[
|
||||
'user' => $this->importJob->user_id,
|
||||
'type' => $transactionType,
|
||||
'type' => strtolower($transactionType),
|
||||
'date' => $this->convertDateValue($importable->date) ?? Carbon::now()->format('Y-m-d H:i:s'),
|
||||
'order' => 0,
|
||||
|
||||
|
@@ -81,6 +81,7 @@ class StageImportDataHandler
|
||||
}
|
||||
$totalSet = array_merge(...$totalSet);
|
||||
Log::debug(sprintf('Found %d transactions in total.', count($totalSet)));
|
||||
|
||||
$this->repository->setTransactions($this->importJob, $totalSet);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user