Fixed tests

This commit is contained in:
James Cole 2015-05-23 21:41:04 +02:00
parent 11e3696191
commit 067c451c1d
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ class ConnectJournalToPiggyBank
/**
* Create the event handler.
* @codeCoverageIgnore
*
*/
public function __construct()

View File

@ -125,7 +125,7 @@ class CategoryRepositoryTest extends TestCase
$this->be($user);
$set = $this->object->getCategoriesAndExpensesCorrected(new Carbon('2015-02-01'), new Carbon('2015-02-28'));
$this->assertCount(5, $set);
$this->assertCount(10, $set);
reset($set);
$this->assertEquals(0, current($set)['sum']);