File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ package util
18
18
19
19
import (
20
20
"os"
21
+ "path/filepath"
21
22
"testing"
22
23
23
24
. "github.com/onsi/gomega"
@@ -50,7 +51,7 @@ func TestTempPathForObj(t *testing.T) {
50
51
}{
51
52
{
52
53
name : "default" ,
53
- want : os .TempDir () + "/ secret-default-foo-" ,
54
+ want : filepath . Join ( os .TempDir (), " secret-default-foo-") ,
54
55
},
55
56
{
56
57
name : "with directory" ,
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ import (
60
60
61
61
"github.com/fluxcd/pkg/gittestserver"
62
62
"github.com/fluxcd/pkg/runtime/testenv"
63
- sourcev1 "github.com/fluxcd/source-controller/api/v1beta1 "
63
+ sourcev1 "github.com/fluxcd/source-controller/api/v1beta2 "
64
64
"github.com/fluxcd/source-controller/controllers"
65
65
)
66
66
@@ -149,7 +149,6 @@ func ensureDependencies() error {
149
149
startEnvServer (func (m manager.Manager ) {
150
150
utilruntime .Must ((& controllers.GitRepositoryReconciler {
151
151
Client : m .GetClient (),
152
- Scheme : scheme .Scheme ,
153
152
Storage : storage ,
154
153
}).SetupWithManager (m ))
155
154
})
Original file line number Diff line number Diff line change 1
1
module github.com/fluxcd/source-controller/tests/fuzz
2
2
3
3
go 1.17
4
+
5
+ replace github.com/fluxcd/kustomize-controller/api => ../../api
6
+
7
+ replace github.com/fluxcd/kustomize-controller => ../../
You can’t perform that action at this time.
0 commit comments