mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-28 09:51:21 -06:00
Removed the code coverage ignore instructions, tests must cover this.
This commit is contained in:
parent
2f5afc80a3
commit
8d209f673c
@ -28,7 +28,6 @@ class AccountController extends \BaseController
|
||||
];
|
||||
|
||||
foreach ($all as $account) {
|
||||
// @codeCoverageIgnoreStart
|
||||
switch ($account->accounttype->description) {
|
||||
case 'Default account':
|
||||
$list['personal'][] = $account;
|
||||
@ -44,7 +43,6 @@ class AccountController extends \BaseController
|
||||
break;
|
||||
|
||||
}
|
||||
// @codeCoverageIgnoreEnd
|
||||
}
|
||||
|
||||
return View::make('accounts.index')->with('accounts', $list);
|
||||
|
@ -20,7 +20,6 @@ class MigrationController extends BaseController
|
||||
|
||||
public function postIndex()
|
||||
{
|
||||
// @codeCoverageIgnoreStart
|
||||
if (Input::hasFile('exportFile')) {
|
||||
|
||||
// get content:
|
||||
@ -37,6 +36,5 @@ class MigrationController extends BaseController
|
||||
} else {
|
||||
return View::make('error')->with('message', 'No file selected');
|
||||
}
|
||||
// @codeCoverageIgnoreEnd
|
||||
}
|
||||
}
|
@ -30,7 +30,7 @@ class UserController extends BaseController
|
||||
// Auth::login($user);
|
||||
// /** @var Firefly\Helper\Migration\MigrationHelperInterface $migration */
|
||||
// $migration = App::make('Firefly\Helper\Migration\MigrationHelperInterface');
|
||||
// $file = '/Library/WebServer/Documents/projects/firefly-iii/app/storage/firefly-export-2014-07-03.json';
|
||||
// $file = '/Library/WebServer/Documents/projects/firefly-iii/app/storage/firefly-export-2014-07-06.json';
|
||||
// $migration->loadFile($file);
|
||||
// if($migration->validFile()) {
|
||||
// $migration->migrate();
|
||||
|
Loading…
Reference in New Issue
Block a user