Fixed tests

This commit is contained in:
James Cole
2015-05-16 09:25:14 +02:00
parent 0a372b0daf
commit e155d3311c
7 changed files with 41 additions and 10 deletions
@@ -189,12 +189,12 @@ class CategoryRepositoryTest extends TestCase
}
/**
* @covers FireflyIII\Repositories\Category\CategoryRepository::spentInPeriodSum
* @covers FireflyIII\Repositories\Category\CategoryRepository::spentInPeriod
*/
public function testSpentInPeriodSum()
{
$category = FactoryMuffin::create('FireflyIII\Models\Category');
$sum = $this->object->spentInPeriodSum($category, new Carbon, new Carbon);
$sum = $this->object->spentInPeriod($category, new Carbon, new Carbon);
$this->assertEquals(0, $sum);