Defaulted use case onboarding feature flag to true (#19690)

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
This commit is contained in:
Maria A Nunez
2022-03-04 18:49:40 -05:00
committed by GitHub
co-authored by Mattermod
parent b70338071f
commit 3be329b5e8
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ func (f *FeatureFlags) SetDefaults() {
f.BoardsDataRetention = false
f.NormalizeLdapDNs = false
f.EnableInactivityCheckJob = true
f.UseCaseOnboarding = false
f.UseCaseOnboarding = true
f.WorkspaceOptimizationDashboard = false
f.GraphQL = false
}
+1
View File
@@ -24,6 +24,7 @@ func (s *TestStore) Close() {
func GetMockStoreForSetupFunctions() *mocks.Store {
mockStore := mocks.Store{}
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", "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)