1
0
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:
Miguel de la Cruz
2022-09-15 13:58:20 +02:00
committed by GitHub
parent f574286e6e
commit dfa9d8f452
16 changed files with 163 additions and 158 deletions

View File

@ -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},