MM-53029 - Remove default (true) for channelExport and Apps plugin (#23682)
* remove default (true) for channelExport and Apps plugin * readd constant, still used * more cleanup of constants * revert usage, constants changes * update tests expecting Apps on by default * remove defaults from tests * revert package-lock.json --------- Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
d693f88043
Коммит
6063f51b0f
@@ -807,9 +807,6 @@ func TestDiff(t *testing.T) {
|
||||
"com.mattermost.nps": {
|
||||
Enable: !defaultConfigGen().PluginSettings.PluginStates["com.mattermost.nps"].Enable,
|
||||
},
|
||||
"com.mattermost.apps": {
|
||||
Enable: true,
|
||||
},
|
||||
"com.mattermost.calls": {
|
||||
Enable: true,
|
||||
},
|
||||
@@ -839,9 +836,6 @@ func TestDiff(t *testing.T) {
|
||||
"com.mattermost.newplugin": {
|
||||
Enable: true,
|
||||
},
|
||||
"com.mattermost.apps": {
|
||||
Enable: true,
|
||||
},
|
||||
"com.mattermost.calls": {
|
||||
Enable: true,
|
||||
},
|
||||
@@ -863,9 +857,6 @@ func TestDiff(t *testing.T) {
|
||||
Path: "PluginSettings.PluginStates",
|
||||
BaseVal: defaultConfigGen().PluginSettings.PluginStates,
|
||||
ActualVal: map[string]*model.PluginState{
|
||||
"com.mattermost.apps": {
|
||||
Enable: true,
|
||||
},
|
||||
"com.mattermost.calls": {
|
||||
Enable: true,
|
||||
},
|
||||
|
||||
Ссылка в новой задаче
Block a user