diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-11-13 11:38:16 -0500 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-11-13 11:38:16 -0500 |
commit | 7304a61ef597970be3031b14e652fb3a4df44304 (patch) | |
tree | 36215c67daaf80a988c97fe4c483e4f87610043c /model/manifest_test.go | |
parent | ae8fd37332ad9f01b762ab37f5662cdd33f1e232 (diff) | |
download | chat-7304a61ef597970be3031b14e652fb3a4df44304.tar.gz chat-7304a61ef597970be3031b14e652fb3a4df44304.tar.bz2 chat-7304a61ef597970be3031b14e652fb3a4df44304.zip |
Add placeholder field and user_autocomplete type to plugin manifest (#7817)
* Add placholder field and user_autocomplete type to plugin manifest
* user_autocomplete -> username
Diffstat (limited to 'model/manifest_test.go')
-rw-r--r-- | model/manifest_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/model/manifest_test.go b/model/manifest_test.go index 3f174d3a7..0edd1fed4 100644 --- a/model/manifest_test.go +++ b/model/manifest_test.go @@ -76,6 +76,7 @@ func TestManifestUnmarshal(t *testing.T) { Type: PLUGIN_CONFIG_TYPE_DROPDOWN, HelpText: "thehelptext", RegenerateHelpText: "theregeneratehelptext", + Placeholder: "theplaceholder", Options: []*PluginOption{ &PluginOption{ DisplayName: "theoptiondisplayname", @@ -104,6 +105,7 @@ settings_schema: type: dropdown help_text: thehelptext regenerate_help_text: theregeneratehelptext + placeholder: theplaceholder options: - display_name: theoptiondisplayname value: thevalue @@ -129,6 +131,7 @@ settings_schema: "type": "dropdown", "help_text": "thehelptext", "regenerate_help_text": "theregeneratehelptext", + "placeholder": "theplaceholder", "options": [ { "display_name": "theoptiondisplayname", @@ -178,6 +181,7 @@ func TestManifestJson(t *testing.T) { Type: PLUGIN_CONFIG_TYPE_DROPDOWN, HelpText: "thehelptext", RegenerateHelpText: "theregeneratehelptext", + Placeholder: "theplaceholder", Options: []*PluginOption{ &PluginOption{ DisplayName: "theoptiondisplayname", @@ -241,6 +245,7 @@ func TestManifestClientManifest(t *testing.T) { Type: PLUGIN_CONFIG_TYPE_DROPDOWN, HelpText: "thehelptext", RegenerateHelpText: "theregeneratehelptext", + Placeholder: "theplaceholder", Options: []*PluginOption{ &PluginOption{ DisplayName: "theoptiondisplayname", |