Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix missing methods in account controller test
James Cole23e540a57a8d
diff --git a/tests/Feature/Controllers/AccountControllerTest.php b/tests/Feature/Controllers/AccountControllerTest.phpindex 6b4777af1c..10545c362d 100644--- a/tests/Feature/Controllers/AccountControllerTest.php+++ b/tests/Feature/Controllers/AccountControllerTest.php@@ -125,6 +125,8 @@ class AccountControllerTest extends TestCase$journalRepos->shouldReceive('first')->once()->andReturn(new TransactionJournal);$repository->shouldReceive('find')->once()->andReturn(new TransactionCurrency());$accountRepos->shouldReceive('getNote')->andReturn($note)->once();+ $accountRepos->shouldReceive('getOpeningBalanceAmount')->andReturnNull();+ $accountRepos->shouldReceive('getOpeningBalanceDate')->andReturnNull();$this->be($this->user());$account = $this->user()->accounts()->where('account_type_id', 3)->whereNull('deleted_at')->first();