Fixed some tests.

This commit is contained in:
James Cole
2015-06-28 08:24:12 +02:00
parent 4673170531
commit e4e2921f3e
30 changed files with 49 additions and 153 deletions

View File

@@ -40,4 +40,4 @@ interface AccountChartGenerator
* @return array
*/
public function single(Account $account, Carbon $start, Carbon $end);
}
}

View File

@@ -110,4 +110,4 @@ class ChartJsAccountChartGenerator implements AccountChartGenerator
return $data;
}
}
}

View File

@@ -119,4 +119,4 @@ class GoogleAccountChartGenerator implements AccountChartGenerator
return $chart->getData();
}
}
}

View File

@@ -29,4 +29,4 @@ interface BillChartGenerator
*/
public function frontpage(Collection $paid, Collection $unpaid);
}
}

View File

@@ -80,4 +80,4 @@ class ChartJsBillChartGenerator implements BillChartGenerator
public function single(Bill $bill, Collection $entries)
{
}
}
}

View File

@@ -84,4 +84,4 @@ class GoogleBillChartGenerator implements BillChartGenerator
return $chart->getData();
}
}
}

View File

@@ -40,4 +40,4 @@ interface BudgetChartGenerator
*/
public function year(Collection $budgets, Collection $entries);
}
}

View File

@@ -138,4 +138,4 @@ class ChartJsBudgetChartGenerator implements BudgetChartGenerator
return $data;
}
}
}

View File

@@ -107,4 +107,4 @@ class GoogleBudgetChartGenerator implements BudgetChartGenerator
return $chart->getData();
}
}
}

View File

@@ -41,4 +41,4 @@ interface CategoryChartGenerator
* @return array
*/
public function year(Collection $categories, Collection $entries);
}
}

View File

@@ -112,4 +112,4 @@ class ChartJsCategoryChartGenerator implements CategoryChartGenerator
return $data;
}
}
}

View File

@@ -101,4 +101,4 @@ class GoogleCategoryChartGenerator implements CategoryChartGenerator
return $chart->getData();
}
}
}

View File

@@ -49,4 +49,4 @@ class ChartJsPiggyBankChartGenerator implements PiggyBankChartGenerator
return $data;
}
}
}

View File

@@ -38,4 +38,4 @@ class GooglePiggyBankChartGenerator implements PiggyBankChartGenerator
return $chart->getData();
}
}
}

View File

@@ -17,4 +17,4 @@ interface PiggyBankChartGenerator
* @return array
*/
public function history(Collection $set);
}
}

View File

@@ -84,4 +84,4 @@ class ChartJsReportChartGenerator implements ReportChartGenerator
$data['datasets'][1]['data'][] = round(($expense / $count), 2);
return $data;
}
}
}

View File

@@ -55,4 +55,4 @@ class GoogleReportChartGenerator implements ReportChartGenerator
return $chart->getData();
}
}
}

View File

@@ -28,4 +28,4 @@ interface ReportChartGenerator
*/
public function yearInOutSummarized($income, $expense, $count);
}
}