Add some tests.

This commit is contained in:
James Cole
2014-12-15 20:24:19 +01:00
parent e7d3716549
commit 37c63bc6b5
4 changed files with 21 additions and 14 deletions

View File

@@ -57,8 +57,8 @@ class ProfileController extends BaseController
}
// update the user with the new password.
/** @var \FireflyIII\Database\User $repository */
$repository = \App::make('FireflyIII\Database\User');
/** @var \FireflyIII\Database\User\User $repository */
$repository = \App::make('FireflyIII\Database\User\User');
$repository->updatePassword(Auth::user(), Input::get('new1'));
Session::flash('success', 'Password changed!');