Turn focalboard plugin on by default (#18132)

* turn focalboard plugin on by default

* cleanup

* update config diff tests to add new default

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Scott Bishel
2021-10-06 13:28:37 -06:00
коммит произвёл GitHub
родитель 0d961b00d9
Коммит 6679abfca4
3 изменённых файлов: 38 добавлений и 0 удалений

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

@@ -339,6 +339,9 @@ func TestDiff(t *testing.T) {
"com.mattermost.nps": {
Enable: !defaultConfigGen().PluginSettings.PluginStates["com.mattermost.nps"].Enable,
},
"focalboard": {
Enable: true,
},
"playbooks": {
Enable: true,
},
@@ -368,6 +371,9 @@ func TestDiff(t *testing.T) {
"com.mattermost.newplugin": {
Enable: true,
},
"focalboard": {
Enable: true,
},
"playbooks": {
Enable: true,
},
@@ -389,6 +395,9 @@ func TestDiff(t *testing.T) {
Path: "PluginSettings.PluginStates",
BaseVal: defaultConfigGen().PluginSettings.PluginStates,
ActualVal: map[string]*model.PluginState{
"focalboard": {
Enable: true,
},
"playbooks": {
Enable: true,
},