Fix flaky TestPluginAPIUpdateUserPreferences (#15038)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6a4e3293f8
Коммит
b3d3adcc9d
@@ -250,7 +250,7 @@ func TestPluginAPIUpdateUserPreferences(t *testing.T) {
|
|||||||
assert.Equal(t, "0", pref.Value)
|
assert.Equal(t, "0", pref.Value)
|
||||||
} else {
|
} else {
|
||||||
newTheme, _ := json.Marshal(map[string]string{"color": "#ff0000", "color2": "#faf"})
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user