summaryrefslogtreecommitdiffstats
path: root/routers/web/user/setting/account_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/user/setting/account_test.go')
-rw-r--r--routers/web/user/setting/account_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/user/setting/account_test.go b/routers/web/user/setting/account_test.go
index a67d09e9ed..005603e7ac 100644
--- a/routers/web/user/setting/account_test.go
+++ b/routers/web/user/setting/account_test.go
@@ -94,6 +94,6 @@ func TestChangePassword(t *testing.T) {
AccountPost(ctx)
assert.Contains(t, ctx.Flash.ErrorMsg, req.Message)
- assert.EqualValues(t, http.StatusFound, ctx.Resp.Status())
+ assert.EqualValues(t, http.StatusSeeOther, ctx.Resp.Status())
}
}