Expand some tests.

This commit is contained in:
James Cole
2017-03-04 19:14:36 +01:00
parent c206a95d55
commit 884d6c59a2
3 changed files with 170 additions and 67 deletions

View File

@@ -270,8 +270,8 @@ class AccountController extends Controller
// prep for current period
if (strlen($moment) === 0) {
$start = session('start', Navigation::startOfPeriod(new Carbon, $range));
$end = session('end', Navigation::endOfPeriod(new Carbon, $range));
$start = clone session('start', Navigation::startOfPeriod(new Carbon, $range));
$end = clone session('end', Navigation::endOfPeriod(new Carbon, $range));
$periods = $this->periodEntries($account);
}