Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix tests.
James Cole972721b18365
diff --git a/tests/Feature/Controllers/Account/EditControllerTest.php b/tests/Feature/Controllers/Account/EditControllerTest.phpindex cdcb965e36..8f7455f353 100644--- a/tests/Feature/Controllers/Account/EditControllerTest.php+++ b/tests/Feature/Controllers/Account/EditControllerTest.php@@ -176,7 +176,6 @@ class EditControllerTest extends TestCase$accountRepos->shouldReceive('getAccountTypeByType')->withArgs(['Debt'])->andReturn(AccountType::find(11))->once();$accountRepos->shouldReceive('getAccountTypeByType')->withArgs(['Loan'])->andReturn(AccountType::find(9))->once();$accountRepos->shouldReceive('getAccountTypeByType')->withArgs(['Mortgage'])->andReturn(AccountType::find(12))->once();- $accountRepos->shouldReceive('getAccountTypeByType')->withArgs(['Credit card'])->andReturn(AccountType::find(13))->once();$this->be($this->user());$account = $this->user()->accounts()->where('account_type_id', 3)->whereNull('deleted_at')->first();