Skip to content

Find, verify, and analyze leaked credentials

fix: include integration test in generate.go (#3415)

Richard Gomezc39c5cb4a725
diff --git a/hack/generate/generate.go b/hack/generate/generate.go
index e6286bed1..68ff62113 100644
--- a/hack/generate/generate.go
+++ b/hack/generate/generate.go
@@ -43,6 +43,11 @@ func main() {
WritePath: filepath.Join(folderPath(), nameLower+"_test.go"),
ReplaceString: []string{"alchemy"},
},
+ {
+ TemplatePath: "pkg/detectors/alchemy/alchemy_integration_test.go",
+ WritePath: filepath.Join(folderPath(), nameLower+"_integration_test.go"),
+ ReplaceString: []string{"alchemy"},
+ },
})
// case "source":
// mustWriteTemplates([]templateJob{