test(handlers): point APK test fixture at trufflehog-test-assets (#5053)
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user