mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 07:38:45 +05:00
Merge branch 'master' into pointer
This commit is contained in:
@@ -495,5 +495,5 @@ func LoadUserProfile(in interface{}, extraFields string) error {
|
||||
utils.SetMapExtraFields(in, m, extraFields)
|
||||
return nil
|
||||
}
|
||||
return utils.ErrNotFound
|
||||
return utils.ErrUserNotFound
|
||||
}
|
||||
|
||||
@@ -708,7 +708,7 @@ func TestUsersExternalCDRGetLoadUserProfileExtraFieldsNotFound(t *testing.T) {
|
||||
}
|
||||
|
||||
err := LoadUserProfile(ur, "ExtraFields")
|
||||
if err != utils.ErrNotFound {
|
||||
if err != utils.ErrUserNotFound {
|
||||
t.Error("Error detecting err in loading user profile: ", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user