You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-07-15 23:54:29 +02:00
Update user store to return the updated entities after inserting / patching them (#3843)
This commit is contained in:
committed by
GitHub
parent
f574286e6e
commit
dfa9d8f452
@ -2561,7 +2561,7 @@ func TestPermissionsUserChangePassword(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestPermissionsUpdateUserConfig(t *testing.T) {
|
||||
patch := toJSON(t, model.UserPropPatch{UpdatedFields: map[string]string{"test": "test"}})
|
||||
patch := toJSON(t, model.UserPreferencesPatch{UpdatedFields: map[string]string{"test": "test"}})
|
||||
|
||||
ttCases := []TestCase{
|
||||
{"/users/{USER_TEAM_MEMBER_ID}/config", methodPut, patch, userAnon, http.StatusUnauthorized, 0},
|
||||
|
Reference in New Issue
Block a user