mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
Fix flaky TestPluginAPIUpdateUserPreferences (#15038)
This commit is contained in:
@@ -250,7 +250,7 @@ func TestPluginAPIUpdateUserPreferences(t *testing.T) {
|
||||
assert.Equal(t, "0", pref.Value)
|
||||
} else {
|
||||
newTheme, _ := json.Marshal(map[string]string{"color": "#ff0000", "color2": "#faf"})
|
||||
assert.Equal(t, string(newTheme), preferences[0].Value)
|
||||
assert.Equal(t, string(newTheme), pref.Value)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user