Skip to content

Commit

Permalink
ci: remove integration test from config test
Browse files Browse the repository at this point in the history
  • Loading branch information
adamewozniak committed Jan 18, 2024
1 parent 98aa88b commit ff580f3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -758,12 +758,8 @@ enabled = false
_, err = tmpFile.Write(content)
require.NoError(t, err)

cfg, err := config.ParseConfig(tmpFile.Name())
_, err = config.ParseConfig(tmpFile.Name())
require.NoError(t, err)

logger := zerolog.New(zerolog.ConsoleWriter{Out: os.Stderr}).Level(zerolog.InfoLevel).With().Timestamp().Logger()
err = config.CheckProviderMins(context.TODO(), logger, cfg)
require.EqualError(t, err, "must have at least 3 providers for ATOM")
}

func TestProviderWithAPIKey_Valid(t *testing.T) {
Expand Down

0 comments on commit ff580f3

Please sign in to comment.