Fix tests

This commit is contained in:
James Cole
2019-02-10 14:33:03 +01:00
parent 4c94820cf4
commit 71104f375c
6 changed files with 9 additions and 9 deletions

View File

@@ -73,7 +73,7 @@ class ConvertToTransfer implements ActionInterface
$repository = app(AccountRepositoryInterface::class);
$repository->setUser($journal->user);
$asset = $repository->findByName(
$this->action->action_value, [AccountType::ASSET, AccountType::DEFAULT, AccountType::LOAN, AccountType::DEBT, AccountType::MORTGAGE]
$this->action->action_value, [AccountType::ASSET, AccountType::LOAN, AccountType::DEBT, AccountType::MORTGAGE]
);
if (null === $asset) {
// @codeCoverageIgnoreStart