mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 05:08:36 +08:00
Chore: Delete password and search from models package (#62482)
* Chore: Delete password and search from models package * Rename model to AdminCreateUserResponse
This commit is contained in:
@ -113,7 +113,7 @@ func TestUserAPIEndpoint_userLoggedIn(t *testing.T) {
|
||||
AuthLabels: []string{},
|
||||
CreatedAt: fakeNow,
|
||||
UpdatedAt: fakeNow,
|
||||
AvatarUrl: avatarUrl,
|
||||
AvatarURL: avatarUrl,
|
||||
}
|
||||
|
||||
var resp user.UserProfileDTO
|
||||
@ -122,7 +122,7 @@ func TestUserAPIEndpoint_userLoggedIn(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
resp.CreatedAt = fakeNow
|
||||
resp.UpdatedAt = fakeNow
|
||||
resp.AvatarUrl = avatarUrl
|
||||
resp.AvatarURL = avatarUrl
|
||||
require.EqualValues(t, expected, resp)
|
||||
}, mock)
|
||||
|
||||
|
Reference in New Issue
Block a user