File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ require (
11
11
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7
12
12
github.com/cyphar/filepath-securejoin v0.2.2
13
13
github.com/fluxcd/pkg/apis/meta v0.10.0
14
- github.com/fluxcd/pkg/gittestserver v0.4.0
14
+ github.com/fluxcd/pkg/gittestserver v0.4.1
15
15
github.com/fluxcd/pkg/gitutil v0.1.0
16
16
github.com/fluxcd/pkg/helmtestserver v0.2.0
17
17
github.com/fluxcd/pkg/lockedfile v0.1.0
Original file line number Diff line number Diff line change @@ -266,8 +266,8 @@ github.com/fatih/color v1.7.0 h1:DkWD4oS2D8LGGgTQ6IvwJJXSL5Vp2ffcQg58nFV38Ys=
266
266
github.com/fatih/color v1.7.0 /go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4 =
267
267
github.com/fluxcd/pkg/apis/meta v0.10.0 h1:N7wVGHC1cyPdT87hrDC7UwCwRwnZdQM46PBSLjG2rlE =
268
268
github.com/fluxcd/pkg/apis/meta v0.10.0 /go.mod h1:CW9X9ijMTpNe7BwnokiUOrLl/h13miwVr/3abEQLbKE =
269
- github.com/fluxcd/pkg/gittestserver v0.4.0 h1:VQzQ5TcHzohxbYGWpnQ/79w7/rnS2SQGC7FSDtbIsCA =
270
- github.com/fluxcd/pkg/gittestserver v0.4.0 /go.mod h1:hUPx21fe/6oox336Wih/XF1fnmzLmptNMOvATbTZXNY =
269
+ github.com/fluxcd/pkg/gittestserver v0.4.1 h1:knghRrVEEPnpO0VJYjoz0H2YMc4fnKAVt5hDGsB1IHc =
270
+ github.com/fluxcd/pkg/gittestserver v0.4.1 /go.mod h1:hUPx21fe/6oox336Wih/XF1fnmzLmptNMOvATbTZXNY =
271
271
github.com/fluxcd/pkg/gitutil v0.1.0 h1:VO3kJY/CKOCO4ysDNqfdpTg04icAKBOSb3lbR5uE/IE =
272
272
github.com/fluxcd/pkg/gitutil v0.1.0 /go.mod h1:Ybz50Ck5gkcnvF0TagaMwtlRy3X3wXuiri1HVsK5id4 =
273
273
github.com/fluxcd/pkg/helmtestserver v0.2.0 h1:cE7YHDmrWI0hr9QpaaeQ0vQ16Z0IiqZKiINDpqdY610 =
Original file line number Diff line number Diff line change @@ -161,10 +161,7 @@ func TestCheckoutStrategyForImplementation_Auth(t *testing.T) {
161
161
}
162
162
163
163
// Initialize a git repo.
164
- // TODO: Fix pkg/gittestserver InitRepo() bug to enable creating
165
- // custom branch.
166
- // branch := "main"
167
- branch := "master"
164
+ branch := "main"
168
165
repoPath := "bar/test-reponame"
169
166
err = gitServer .InitRepo ("testdata/repo1" , branch , repoPath )
170
167
g .Expect (err ).ToNot (HaveOccurred ())
@@ -222,7 +219,7 @@ func TestCheckoutStrategyForImplementation_SemVerCheckout(t *testing.T) {
222
219
defer gitServer .StopHTTP ()
223
220
224
221
repoPath := "bar/test-reponame"
225
- err = gitServer .InitRepo ("testdata/repo1" , "master " , repoPath )
222
+ err = gitServer .InitRepo ("testdata/repo1" , "main " , repoPath )
226
223
g .Expect (err ).ToNot (HaveOccurred ())
227
224
228
225
repoURL := gitServer .HTTPAddressWithCredentials () + "/" + repoPath
You can’t perform that action at this time.
0 commit comments