mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Improve test coverage.
This commit is contained in:
parent
a0b475d8ef
commit
f71359e73d
@ -385,7 +385,7 @@ class CategoryController extends Controller
|
||||
$start = app('navigation')->startOfPeriod($date, $range);
|
||||
$end = session()->get('end');
|
||||
if ($end < $start) {
|
||||
$end = app('navigation')->endOfPeriod($date, $range);
|
||||
[$end, $start] = [$start, $end];
|
||||
}
|
||||
|
||||
$data = $this->makePeriodChart($category, $start, $end);
|
||||
|
@ -186,7 +186,7 @@ class SingleController extends Controller
|
||||
* Show a special JSONified view of a transaction, for easier debug purposes.
|
||||
*
|
||||
* @param TransactionJournal $journal
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
* @return JsonResponse
|
||||
*/
|
||||
public function debugShow(TransactionJournal $journal): JsonResponse
|
||||
|
Loading…
Reference in New Issue
Block a user