aboutsummaryrefslogtreecommitdiffstats
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 13caa33771..9b8cffc868 100644
--- a/routers/web/user/setting/account_test.go
+++ b/routers/web/user/setting/account_test.go
@@ -95,7 +95,7 @@ func TestChangePassword(t *testing.T) {
AccountPost(ctx)
assert.Contains(t, ctx.Flash.ErrorMsg, req.Message)
- assert.EqualValues(t, http.StatusSeeOther, ctx.Resp.WrittenStatus())
+ assert.Equal(t, http.StatusSeeOther, ctx.Resp.WrittenStatus())
})
}
}