Expand tests, do code cleanup.

This commit is contained in:
James Cole
2017-12-17 14:30:53 +01:00
parent b08af77c98
commit 78335e5814
141 changed files with 773 additions and 54 deletions

View File

@@ -72,6 +72,7 @@ class AccountRepository implements AccountRepositoryInterface
* @param Account $moveTo
*
* @return bool
* @throws \Exception
*/
public function destroy(Account $account, Account $moveTo): bool
{
@@ -239,6 +240,8 @@ class AccountRepository implements AccountRepositoryInterface
/**
* @param Account $account
*
* @throws \Exception
*/
protected function deleteInitialBalance(Account $account)
{
@@ -410,6 +413,7 @@ class AccountRepository implements AccountRepositoryInterface
* @param string $name
*
* @return Account
* @throws FireflyException
*/
protected function storeOpposingAccount(string $name): Account
{
@@ -507,6 +511,7 @@ class AccountRepository implements AccountRepositoryInterface
* @param array $data
*
* @return bool
* @throws \Exception
*/
protected function updateOpeningBalanceJournal(Account $account, TransactionJournal $journal, array $data): bool
{