This should fix the tests for now.

This commit is contained in:
James Cole
2017-07-26 18:40:48 +02:00
parent fb3efbfc66
commit aae9ad78e5
4 changed files with 11 additions and 2 deletions

View File

@@ -171,7 +171,7 @@ class BudgetController extends Controller
*
* @return View
*/
public function index(?string $moment)
public function index(string $moment = null)
{
$range = Preferences::get('viewRange', '1M')->data;
$start = session('start', new Carbon);

View File

@@ -254,7 +254,7 @@ class TagController extends Controller
$subTitle = trans('firefly.all_journals_for_tag', ['tag' => $tag->tag]);
$start = $repository->firstUseDate($tag);
$end = new Carbon;
$sum = $repository->sumOfTag($tag);
$sum = $repository->sumOfTag($tag, null, null);
$path = route('tags.show', [$tag->id,'all']);
}