mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
Defaulted use case onboarding feature flag to true (#19690)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
This commit is contained in:
co-authored by
Mattermod
parent
b70338071f
commit
3be329b5e8
@@ -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
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user