mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-09 20:11:22 +00:00
Various code cleanup [skip ci]
This commit is contained in:
@@ -6,6 +6,7 @@ use FireflyIII\Models\Preference;
|
||||
use FireflyIII\Models\TransactionCurrency;
|
||||
use Illuminate\Support\Collection;
|
||||
use League\FactoryMuffin\Facade as FactoryMuffin;
|
||||
|
||||
/**
|
||||
* Class PiggyBankControllerTest
|
||||
*/
|
||||
@@ -110,7 +111,7 @@ class PiggyBankControllerTest extends TestCase
|
||||
|
||||
public function testEdit()
|
||||
{
|
||||
$piggyBank = FactoryMuffin::create('FireflyIII\Models\PiggyBank');
|
||||
$piggyBank = FactoryMuffin::create('FireflyIII\Models\PiggyBank');
|
||||
$piggyBank->targetdate = Carbon::now()->addYear();
|
||||
$piggyBank->save();
|
||||
$this->be($piggyBank->account->user);
|
||||
|
||||
Reference in New Issue
Block a user