mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-24 22:48:18 +00:00
Improve test coverage.
This commit is contained in:
@@ -106,7 +106,7 @@ class JobStatusController extends Controller
|
||||
|
||||
// if count is zero:
|
||||
if (null !== $importJob->tag_id) {
|
||||
$count = $importJob->tag->transactionJournals->count();
|
||||
$count = $this->repository->countByTag($importJob);
|
||||
}
|
||||
if (0 === $count) {
|
||||
$json['report_txt'] = (string)trans('import.result_no_transactions');
|
||||
|
Reference in New Issue
Block a user