We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7db89b6 commit 82c09e2Copy full SHA for 82c09e2
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