Skip to content

Commit

Permalink
Test disable boards through feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mgdelacroix committed Mar 16, 2023
1 parent caf0fbc commit 787044a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/playbooks/server/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ func Setup(t *testing.T) *TestEnvironment {
config.LogSettings.EnableFile = model.NewBool(false)
config.LogSettings.ConsoleLevel = model.NewString("INFO")

// disable Boards through the feature flag
os.Unsetenv("MM_FEATUREFLAGS_BoardsProduct")
config.FeatureFlags.BoardsProduct = false

// override config with e2etest.config.json if it exists
textConfig, err := os.ReadFile("./e2etest.config.json")
if err == nil {
Expand Down

0 comments on commit 787044a

Please sign in to comment.