summaryrefslogtreecommitdiffstats
path: root/app/diagnostics_test.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2018-07-09 07:25:57 -0700
committerGitHub <noreply@github.com>2018-07-09 07:25:57 -0700
commite3c26a0e89253fb626515831d8468050e6235d89 (patch)
treee2e79be4a59bbb2ae198ac8c52456f831f452ff1 /app/diagnostics_test.go
parentb78b216a3c8eb354085f97f33dac5e7661ac9188 (diff)
downloadchat-e3c26a0e89253fb626515831d8468050e6235d89.tar.gz
chat-e3c26a0e89253fb626515831d8468050e6235d89.tar.bz2
chat-e3c26a0e89253fb626515831d8468050e6235d89.zip
Adding ability for plugin system to respect the defaults listed in the plugin manifest. (#9066)
Diffstat (limited to 'app/diagnostics_test.go')
-rw-r--r--app/diagnostics_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/diagnostics_test.go b/app/diagnostics_test.go
index 2c61fb335..1dfcbecd1 100644
--- a/app/diagnostics_test.go
+++ b/app/diagnostics_test.go
@@ -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",
},
},