Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gt2345 committed Oct 22, 2024
1 parent e44f6d6 commit dd7f8f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/internal/api_user_intg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ func TestFilterUserByRoleId(t *testing.T) {
RoleIdAssignedDirectlyToUser: []int32{int32(testRole.ID)},
})
require.NoError(t, err)
require.Equal(t, 1, len(resp.Users))
require.Len(t, resp.Users, 1)
require.Equal(t, int32(user0.ID), resp.Users[0].Id)

_, err = db.Bun().NewDelete().Table("roles").Where("id = ?", testRole.ID).Exec(ctx)
Expand Down

0 comments on commit dd7f8f8

Please sign in to comment.