diff --git a/tests/controllers/PiggyBankControllerTest.php b/tests/controllers/PiggyBankControllerTest.php index fe49823479..964b461f69 100644 --- a/tests/controllers/PiggyBankControllerTest.php +++ b/tests/controllers/PiggyBankControllerTest.php @@ -1,4 +1,5 @@ targetdate = Carbon::now()->addYear(); + $piggyBank->save(); $this->be($piggyBank->account->user); $account = FactoryMuffin::create('FireflyIII\Models\Account'); $collection = new Collection([$account]);