MM-29709 Client side feature flags (#16212)
* Client side feature flags. * Fix test. Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
213345fa2c
Коммит
ceb1422a5c
@@ -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 {
|
||||
|
||||
Ссылка в новой задаче
Block a user