Some changes to test coverage.

This commit is contained in:
James Cole
2016-01-22 21:08:04 +01:00
parent e1cf285272
commit 7b040e8583
4 changed files with 3 additions and 10 deletions

View File

@@ -396,7 +396,7 @@ class CsvController extends Controller
$settings = [];
$settings['date-format'] = Input::get('date_format');
$settings['has-headers'] = intval(Input::get('has_headers')) === 1;
$settings['specifix'] = Input::get('specifix');
$settings['specifix'] = is_array(Input::get('specifix')) ? Input::get('specifix') : [];
$settings['import-account'] = intval(Input::get('csv_import_account'));
$settings['delimiter'] = Input::get('csv_delimiter', ',');