MM-29709 Client side feature flags (#16212)

* Client side feature flags.

* Fix test.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Christopher Speller
2020-11-18 11:11:15 -08:00
коммит произвёл GitHub
родитель 213345fa2c
Коммит ceb1422a5c
4 изменённых файлов: 59 добавлений и 0 удалений

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

@@ -257,6 +257,19 @@ func TestGetLimitedClientConfig(t *testing.T) {
"PasswordRequireSymbol": "false",
},
},
{
"Feature Flags",
&model.Config{
FeatureFlags: &model.FeatureFlags{
TestFeature: "myvalue",
},
},
"",
nil,
map[string]string{
"FeatureFlagTestFeature": "myvalue",
},
},
}
for _, testCase := range testCases {