Skip to content

Find, verify, and analyze leaked credentials

test(handlers): point APK test fixture at trufflehog-test-assets (#5053)

Amaan Ullah57caa0aa9b2d
diff --git a/pkg/handlers/apk_test.go b/pkg/handlers/apk_test.go
index 0829aa7dc..b8d03fcdd 100644
--- a/pkg/handlers/apk_test.go
+++ b/pkg/handlers/apk_test.go
@@ -21,7 +21,7 @@ func TestAPKHandler(t *testing.T) {
matchString string
}{
"apk_with_3_leaked_keys": {
- archiveURL: "https://raw.githubusercontent.com/trufflesecurity/leakyAPK/main/aws_leak.apk",
+ archiveURL: "https://raw.githubusercontent.com/trufflesecurity/trufflehog-test-assets/main/aws_leak.apk",
expectedChunks: 942,
// Note: the secret count is 4 instead of 3 b/c we're not actually running the secret detection engine,
// we're just looking for a string match. There is one extra string match in the APK (but only 3 detected secrets).