Remove configuration auto enable. (#22625)

* Remove configuration auto enable.

* i18n

* Fix diff tests.
Этот коммит содержится в:
Christopher Speller
2023-03-27 14:02:18 -07:00
коммит произвёл GitHub
родитель 0140e94d77
Коммит ae6416e357
4 изменённых файлов: 0 добавлений и 37 удалений

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

@@ -807,12 +807,6 @@ func TestDiff(t *testing.T) {
"com.mattermost.nps": {
Enable: !defaultConfigGen().PluginSettings.PluginStates["com.mattermost.nps"].Enable,
},
"focalboard": {
Enable: true,
},
"playbooks": {
Enable: true,
},
"com.mattermost.apps": {
Enable: true,
},
@@ -845,12 +839,6 @@ func TestDiff(t *testing.T) {
"com.mattermost.newplugin": {
Enable: true,
},
"focalboard": {
Enable: true,
},
"playbooks": {
Enable: true,
},
"com.mattermost.apps": {
Enable: true,
},
@@ -875,12 +863,6 @@ func TestDiff(t *testing.T) {
Path: "PluginSettings.PluginStates",
BaseVal: defaultConfigGen().PluginSettings.PluginStates,
ActualVal: map[string]*model.PluginState{
"focalboard": {
Enable: true,
},
"playbooks": {
Enable: true,
},
"com.mattermost.apps": {
Enable: true,
},