Skip to content

Commit 2f9ed78

Browse files
author
Joshua Reed
committed
Cleanup.
1 parent 7a7e074 commit 2f9ed78

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

api/v1beta1/webhook_suite_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,11 @@ var _ = BeforeSuite(func() {
5757
ctx, cancel = context.WithCancel(context.TODO())
5858

5959
By("bootstrapping test environment")
60-
root := filepath.Join("../../../")
61-
fmt.Println(root)
6260
testEnv = &envtest.Environment{
63-
CRDDirectoryPaths: []string{filepath.Join("../../../", "config", "crd", "bases")},
61+
CRDDirectoryPaths: []string{filepath.Join("../../", "config", "crd", "bases")},
6462
ErrorIfCRDPathMissing: false,
6563
WebhookInstallOptions: envtest.WebhookInstallOptions{
66-
Paths: []string{filepath.Join("../../../", "config", "webhook")},
64+
Paths: []string{filepath.Join("../../", "config", "webhook")},
6765
},
6866
}
6967

0 commit comments

Comments
 (0)