Test improv

This commit is contained in:
James Cole
2020-10-18 08:01:22 +02:00
parent 2630732b8a
commit 4c10f2b960
7 changed files with 129 additions and 5 deletions

View File

@@ -149,7 +149,7 @@ trait CollectsValues
]
)->first();
if (null === $result) {
throw new FireflyException(sprintf('Cannot find suitable %s to use.', $type));
throw new FireflyException(sprintf('Cannot find suitable journal "%s" to use.', $type));
}
return TransactionJournal::find((int) $result->transaction_journal_id);