Skip to content

Commit 9ba18f5

Browse files
committed
fixed test
1 parent 03c62d9 commit 9ba18f5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmd/build_results_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ import (
55
"github.com/daveshanley/vacuum/utils"
66
"github.com/stretchr/testify/assert"
77
"testing"
8+
"time"
89
)
910

1011
func TestBuildResults(t *testing.T) {
11-
_, _, err := BuildResults(false, false, "nuggets", nil, nil, "", true, 5, utils.HTTPClientConfig{}, model.IgnoredItems{})
12+
_, _, err := BuildResults(false, false, "nuggets", nil, nil, "", true, 5*time.Second, 5*time.Second, utils.HTTPClientConfig{}, model.IgnoredItems{})
1213
assert.Error(t, err)
1314
}
1415

1516
func TestBuildResults_SkipCheck(t *testing.T) {
16-
_, _, err := BuildResultsWithDocCheckSkip(false, false, "nuggets", nil, nil, "", true, true, 5, utils.HTTPClientConfig{}, model.IgnoredItems{})
17+
_, _, err := BuildResultsWithDocCheckSkip(false, false, "nuggets", nil, nil, "", true, true, 5*time.Second, 5*time.Second, utils.HTTPClientConfig{}, model.IgnoredItems{})
1718
assert.Error(t, err)
1819
}

0 commit comments

Comments
 (0)