mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-02-13 15:20:29 +00:00
Improve test coverage.
This commit is contained in:
@@ -467,4 +467,14 @@ class ImportJobRepository implements ImportJobRepositoryInterface
|
||||
|
||||
return $size > $this->maxUploadSize;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ImportJob $job
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function countByTag(ImportJob $job): int
|
||||
{
|
||||
return $job->tag->transactionJournals->count();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user