mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Expand test coverage.
This commit is contained in:
		| @@ -84,10 +84,10 @@ class AccountController extends Controller | ||||
|             $step = '1W'; | ||||
|         } | ||||
|         if ($months > 24) { | ||||
|             $step = '1M'; | ||||
|             $step = '1M'; // @codeCoverageIgnore | ||||
|         } | ||||
|         if ($months > 100) { | ||||
|             $step = '1Y'; | ||||
|             $step = '1Y'; // @codeCoverageIgnore | ||||
|         } | ||||
|         $chartData = []; | ||||
|         $current   = clone $start; | ||||
| @@ -106,8 +106,8 @@ class AccountController extends Controller | ||||
|                 } | ||||
|                 break; | ||||
|             case '1W': | ||||
|             case '1M': | ||||
|             case '1Y': | ||||
|             case '1M': // @codeCoverageIgnore | ||||
|             case '1Y': // @codeCoverageIgnore | ||||
|                 while ($end >= $current) { | ||||
|                     $balance           = floatval(Steam::balance($account, $current)); | ||||
|                     $label             = app('navigation')->periodShow($current, $step); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user