mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-03 12:47:17 -06:00
Update a test.
This commit is contained in:
parent
fb047bd5f4
commit
883d3d86e3
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
use Carbon\Carbon;
|
||||
use FireflyIII\Models\Account;
|
||||
use FireflyIII\Models\AccountType;
|
||||
use FireflyIII\Models\Preference;
|
||||
@ -108,6 +109,8 @@ class PiggyBankControllerTest extends TestCase
|
||||
public function testEdit()
|
||||
{
|
||||
$piggyBank = FactoryMuffin::create('FireflyIII\Models\PiggyBank');
|
||||
$piggyBank->targetdate = Carbon::now()->addYear();
|
||||
$piggyBank->save();
|
||||
$this->be($piggyBank->account->user);
|
||||
$account = FactoryMuffin::create('FireflyIII\Models\Account');
|
||||
$collection = new Collection([$account]);
|
||||
|
Loading…
Reference in New Issue
Block a user