Fixed the tests.

This commit is contained in:
James Cole
2015-05-18 17:57:44 +02:00
parent 1bf0968bfe
commit 4113c4ff40
12 changed files with 242 additions and 11 deletions

View File

@@ -69,7 +69,7 @@ class JsonControllerTest extends TestCase
public function testBoxBillsUnpaid()
{
$bill = FactoryMuffin::create('FireflyIII\Models\Bill');
$creditCard = FactoryMuffin::create('FireflyIII\Models\Account');
$creditCard = FactoryMuffin::create('FireflyIII\Models\Account');
$ccs = new Collection([$creditCard]);
$collection = new Collection([$bill]);
$ranges = [['start' => new Carbon, 'end' => new Carbon]];