Various code cleanup [skip ci]

This commit is contained in:
James Cole
2015-05-05 07:51:02 +02:00
parent e1941daedd
commit 67fdd27499
17 changed files with 42 additions and 43 deletions

View File

@@ -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);