Skip to content

Commit

Permalink
feat: Unit testing for package webhookhandler (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjjaramillo committed May 31, 2024
1 parent b239208 commit e06b171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/internal/webhookhandler/webhookhandler_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ func TestMain(m *testing.M) {
defer cancel()

testEnv = &envtest.Environment{
CRDDirectoryPaths: []string{filepath.Join("..", "..", "config", "crd", "bases")},
CRDDirectoryPaths: []string{filepath.Join("..", "..", "..", "tests", "kustomize", "crd", "bases")},
WebhookInstallOptions: envtest.WebhookInstallOptions{
Paths: []string{filepath.Join("..", "..", "config", "webhook")},
Paths: []string{filepath.Join("..", "..", "..", "tests", "kustomize", "webhook")},
},
}
cfg, err = testEnv.Start()
Expand Down

0 comments on commit e06b171

Please sign in to comment.