summaryrefslogtreecommitdiffstats
path: root/routers/user/setting_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/user/setting_test.go')
-rw-r--r--routers/user/setting_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/setting_test.go b/routers/user/setting_test.go
index 72b1b83143..6aa9a07439 100644
--- a/routers/user/setting_test.go
+++ b/routers/user/setting_test.go
@@ -56,7 +56,7 @@ func TestChangePassword(t *testing.T) {
test.LoadUser(t, ctx, 2)
test.LoadRepo(t, ctx, 1)
- SettingsSecurityPost(ctx, auth.ChangePasswordForm{
+ SettingsAccountPost(ctx, auth.ChangePasswordForm{
OldPassword: req.OldPassword,
Password: req.NewPassword,
Retype: req.Retype,