From 95b92b7d1ef20733f5d2786b762a9b61ac8708ca Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 17 Apr 2016 11:43:07 +0200 Subject: [PATCH] Should fix test. --- tests/acceptance/Controllers/ReportControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/Controllers/ReportControllerTest.php b/tests/acceptance/Controllers/ReportControllerTest.php index 0b97883bbf..71206b623e 100644 --- a/tests/acceptance/Controllers/ReportControllerTest.php +++ b/tests/acceptance/Controllers/ReportControllerTest.php @@ -87,7 +87,7 @@ class ReportControllerTest extends TestCase $categoryRepos = $this->mock('FireflyIII\Repositories\Category\CategoryRepositoryInterface'); $budgetRepos->shouldReceive('getActiveBudgets')->once()->andReturn(new Collection); - $categoryRepos->shouldReceive('listCategories')->once()->andReturn(new Collection); + $categoryRepos->shouldReceive('getCategories')->once()->andReturn(new Collection); $accountHelper->shouldReceive('getAccountReport')->once()->andReturn(new AccountCollection);