Added the $range argument to every test that might need it. See #170

This commit is contained in:
James Cole
2016-02-05 06:36:56 +01:00
parent be74fbd677
commit a26e8a5f83
9 changed files with 28 additions and 28 deletions

View File

@@ -28,11 +28,11 @@ class PreferencesControllerTest extends TestCase
/**
* @covers FireflyIII\Http\Controllers\PreferencesController::postIndex
*/
public function testPostIndex()
public function testPostIndex($range)
{
$args = [
'frontPageAccounts' => [1],
'viewRange' => '1M',
'viewRange' => $range,
'budgetMaximum' => 100,
'customFiscalYear' => 1,
'fiscalYearStart' => '01-01',