Skip to content

Find, verify, and analyze leaked credentials

Re-host pkg/handlers JSON fixtures under the org (#5023)

Amaan Ullah6cefc1efcc0c
diff --git a/pkg/handlers/handlers_test.go b/pkg/handlers/handlers_test.go
index a738622e6..99f1235a3 100644
--- a/pkg/handlers/handlers_test.go
+++ b/pkg/handlers/handlers_test.go
@@ -54,7 +54,7 @@ func TestHandleFile(t *testing.T) {
}
func TestHandleHTTPJson(t *testing.T) {
- resp, err := http.Get("https://raw.githubusercontent.com/ahrav/nothing-to-see-here/main/sm_random_data.json")
+ resp, err := http.Get("https://raw.githubusercontent.com/trufflesecurity/trufflehog-test-assets/main/sm_random_data.json")
assert.NoError(t, err)
defer func() {
if resp != nil && resp.Body != nil {
@@ -425,7 +425,7 @@ func BenchmarkHandleTar(b *testing.B) {
}
func TestHandleLargeHTTPJson(t *testing.T) {
- resp, err := http.Get("https://raw.githubusercontent.com/ahrav/nothing-to-see-here/main/md_random_data.json.zip")
+ resp, err := http.Get("https://raw.githubusercontent.com/trufflesecurity/trufflehog-test-assets/main/md_random_data.json.zip")
if !assert.NoError(t, err) {
return
}