We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd63504 commit 9f6c07aCopy full SHA for 9f6c07a
pkg/scaffold/crd_test.go
@@ -41,6 +41,9 @@ func TestCRD(t *testing.T) {
41
AbsProjectPath: filepath.Join(filepath.Dir(filepath.Dir(absPath)), tfDir),
42
ProjectName: filepath.Base(tfDir),
43
}
44
+ if err := os.Chdir(cfg.AbsProjectPath); err != nil {
45
+ t.Fatal(err)
46
+ }
47
err = s.Execute(cfg, &Crd{Resource: r})
48
if err != nil {
49
t.Fatalf("failed to execute the scaffold: (%v)", err)
0 commit comments