Defaulted use case onboarding feature flag to true (#19690)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b70338071f
Коммит
3be329b5e8
@@ -104,7 +104,7 @@ func (f *FeatureFlags) SetDefaults() {
|
|||||||
f.BoardsDataRetention = false
|
f.BoardsDataRetention = false
|
||||||
f.NormalizeLdapDNs = false
|
f.NormalizeLdapDNs = false
|
||||||
f.EnableInactivityCheckJob = true
|
f.EnableInactivityCheckJob = true
|
||||||
f.UseCaseOnboarding = false
|
f.UseCaseOnboarding = true
|
||||||
f.WorkspaceOptimizationDashboard = false
|
f.WorkspaceOptimizationDashboard = false
|
||||||
f.GraphQL = false
|
f.GraphQL = false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ func (s *TestStore) Close() {
|
|||||||
func GetMockStoreForSetupFunctions() *mocks.Store {
|
func GetMockStoreForSetupFunctions() *mocks.Store {
|
||||||
mockStore := mocks.Store{}
|
mockStore := mocks.Store{}
|
||||||
systemStore := mocks.SystemStore{}
|
systemStore := mocks.SystemStore{}
|
||||||
|
systemStore.On("GetByName", "FirstAdminSetupComplete").Return(&model.System{Name: "FirstAdminSetupComplete", Value: "true"}, nil)
|
||||||
systemStore.On("GetByName", "ContentExtractionConfigDefaultTrueMigrationComplete").Return(&model.System{Name: "ContentExtractionConfigDefaultTrueMigrationComplete", Value: "true"}, nil)
|
systemStore.On("GetByName", "ContentExtractionConfigDefaultTrueMigrationComplete").Return(&model.System{Name: "ContentExtractionConfigDefaultTrueMigrationComplete", Value: "true"}, nil)
|
||||||
systemStore.On("GetByName", "UpgradedFromTE").Return(nil, model.NewAppError("FakeError", "app.system.get_by_name.app_error", nil, "", http.StatusInternalServerError))
|
systemStore.On("GetByName", "UpgradedFromTE").Return(nil, model.NewAppError("FakeError", "app.system.get_by_name.app_error", nil, "", http.StatusInternalServerError))
|
||||||
systemStore.On("GetByName", "ContentExtractionConfigMigrationComplete").Return(&model.System{Name: "ContentExtractionConfigMigrationComplete", Value: "true"}, nil)
|
systemStore.On("GetByName", "ContentExtractionConfigMigrationComplete").Return(&model.System{Name: "ContentExtractionConfigMigrationComplete", Value: "true"}, nil)
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user