Skip to content

Commit 4737157

Browse files
authored
Merge pull request #734 from droot/bugfix/crd-dir-path-ctrl-suite
:bugfix: fixed path-to-crd-dir in controller test suite
2 parents 95b183b + a205045 commit 4737157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/scaffold/v2/controller_suitetest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ var _ = BeforeSuite(func(done Done) {
101101
102102
By("bootstrapping test environment")
103103
testEnv = &envtest.Environment{
104-
CRDDirectoryPaths: []string{filepath.Join("..", "..", "config", "crd", "bases")},
104+
CRDDirectoryPaths: []string{filepath.Join("..", "config", "crd", "bases")},
105105
}
106106
107107
cfg, err := testEnv.Start()

0 commit comments

Comments
 (0)