mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-07 14:41:20 +00:00
Fixed tests
This commit is contained in:
@@ -17,6 +17,7 @@ class ConnectJournalToPiggyBank
|
||||
|
||||
/**
|
||||
* Create the event handler.
|
||||
* @codeCoverageIgnore
|
||||
*
|
||||
*/
|
||||
public function __construct()
|
||||
|
||||
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user