Updated tests.

This commit is contained in:
James Cole
2015-05-08 07:39:05 +02:00
parent cefbbcd1df
commit 54195c0826
2 changed files with 8 additions and 7 deletions

View File

@@ -452,8 +452,11 @@ class AccountRepository implements AccountRepositoryInterface
if (!$existingAccount) {
Log::error('Account create error: ' . $newAccount->getErrors()->toJson());
App::abort(500);
// @codeCoverageIgnoreStart
}
// @codeCoverageIgnoreEnd
$newAccount = $existingAccount;
}
$newAccount->save();