Improve test coverage.

This commit is contained in:
James Cole
2018-12-18 06:57:42 +01:00
parent 29f2ee93d1
commit f3a597cd12
2 changed files with 12 additions and 5 deletions

View File

@@ -265,7 +265,7 @@ class TransactionController extends Controller
$events = $this->repository->getPiggyBankEvents($journal);
$what = strtolower($transactionType);
$subTitle = (string)trans('firefly.' . $what) . ' "' . $journal->description . '"';
$subTitle = trans('firefly.' . $what) . ' "' . $journal->description . '"';
return view('transactions.show', compact('journal','attachments', 'events', 'subTitle', 'what', 'transactions', 'linkTypes', 'links'));
}