diff --git a/controller/suite_test.go b/controller/suite_test.go index f199e4f4a..cd8951838 100644 --- a/controller/suite_test.go +++ b/controller/suite_test.go @@ -56,7 +56,7 @@ var _ = BeforeSuite(func() { By("bootstrapping test environment") testEnv = &envtest.Environment{ - CRDDirectoryPaths: []string{filepath.Join("..", "..", "config", "crd", "bases")}, + CRDDirectoryPaths: []string{filepath.Join("..", "config", "crd", "bases")}, ErrorIfCRDPathMissing: true, // The BinaryAssetsDirectory is only required if you want to run the tests directly