Adding ability for plugin system to respect the defaults listed in the plugin manifest. (#9066)

Этот коммит содержится в:
Christopher Speller
2018-07-09 07:25:57 -07:00
коммит произвёл GitHub
родитель b78b216a3c
Коммит e3c26a0e89
4 изменённых файлов: 28 добавлений и 20 удалений

Просмотреть файл

@@ -32,8 +32,8 @@ func newTestServer() (chan string, *httptest.Server) {
func TestPluginSetting(t *testing.T) {
settings := &model.PluginSettings{
Plugins: map[string]interface{}{
"test": map[string]string{
Plugins: map[string]map[string]interface{}{
"test": map[string]interface{}{
"foo": "bar",
},
},