Skip to content

Commit

Permalink
updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
joeleonjr committed Oct 30, 2024
1 parent c99a4dc commit 21d0312
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/handlers/apk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ func TestAPKHandler(t *testing.T) {
}{
"apk_with_3_leaked_keys": {
"https://github.com/joeleonjr/leakyAPK/raw/refs/heads/main/aws_leak.apk",
401,
3,
499,
// 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).
4,
"AKIA2UC3BSXMLSCLTUUS",
false,
},
Expand Down

0 comments on commit 21d0312

Please sign in to comment.