diff --git a/storage/database/databasecopy.sqlite b/storage/database/databasecopy.sqlite old mode 100644 new mode 100755 index 03d527000f..e7bb5c4dec Binary files a/storage/database/databasecopy.sqlite and b/storage/database/databasecopy.sqlite differ diff --git a/tests/Feature/Controllers/AccountControllerTest.php b/tests/Feature/Controllers/AccountControllerTest.php index 2f7ca99259..45a7b70733 100644 --- a/tests/Feature/Controllers/AccountControllerTest.php +++ b/tests/Feature/Controllers/AccountControllerTest.php @@ -40,7 +40,8 @@ class AccountControllerTest extends TestCase public function testDelete() { $this->be($this->user()); - $response = $this->get(route('accounts.delete', [1])); + $account = $this->user()->accounts()->where('account_type_id', 3)->whereNull('deleted_at')->first(); + $response = $this->get(route('accounts.delete', [$account->id])); $response->assertStatus(200); // has bread crumb $response->assertSee('