mirror of
https://github.com/go-gitea/gitea
synced 2025-07-19 00:38:36 +00:00
Enable testifylint rules (#34075)
enable testifylint rules disabled in: https://github.com/go-gitea/gitea/pull/34054
This commit is contained in:
@@ -61,6 +61,6 @@ func TestAdminUserCreate(t *testing.T) {
|
||||
assert.NoError(t, createUser("u", "--user-type bot"))
|
||||
u := unittest.AssertExistsAndLoadBean(t, &user_model.User{LowerName: "u"})
|
||||
assert.Equal(t, user_model.UserTypeBot, u.Type)
|
||||
assert.Equal(t, "", u.Passwd)
|
||||
assert.Empty(t, u.Passwd)
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user