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

This commit is contained in:
Amaan Ullah
2026-06-18 20:57:08 +05:00
committed by GitHub
parent 48cb542548
commit 57caa0aa9b
+1 -1
View File
@@ -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).