From 6bd2d14f7a4bc1e569fa3550efa7ec632a4fa67b Mon Sep 17 00:00:00 2001 From: Muneeb Ullah Khan <100969065+MuneebUllahKhan222@users.noreply.github.com> Date: Wed, 1 Apr 2026 18:01:15 +0500 Subject: [PATCH] Re-enabled TestAPKHandler test and updated artifact url (#4856) --- pkg/handlers/apk_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/handlers/apk_test.go b/pkg/handlers/apk_test.go index 45e79afc8..b8ca00530 100644 --- a/pkg/handlers/apk_test.go +++ b/pkg/handlers/apk_test.go @@ -13,7 +13,6 @@ import ( ) func TestAPKHandler(t *testing.T) { - t.Skip("[INS-421] - Skipping this test because the apk file being used in this test is unavailable") tests := map[string]struct { archiveURL string expectedChunks int @@ -21,7 +20,7 @@ func TestAPKHandler(t *testing.T) { matchString string }{ "apk_with_3_leaked_keys": { - archiveURL: "https://github.com/joeleonjr/leakyAPK/raw/refs/heads/main/aws_leak.apk", + archiveURL: "https://raw.githubusercontent.com/trufflesecurity/leakyAPK/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).