Skip to content

Find, verify, and analyze leaked credentials

fixed scalr detector integration test (#3707)

Kashif Khan1d0bd0ae5fdc
diff --git a/pkg/detectors/scalr/scalr_test.go b/pkg/detectors/scalr/scalr_test.go
index 758c8ce3a..2fd07bf70 100644
--- a/pkg/detectors/scalr/scalr_test.go
+++ b/pkg/detectors/scalr/scalr_test.go
@@ -45,6 +45,10 @@ func TestScalr_FromChunk(t *testing.T) {
verify: true,
},
want: []detectors.Result{
+ {
+ DetectorType: detectorspb.DetectorType_Scalr,
+ Verified: false,
+ },
{
DetectorType: detectorspb.DetectorType_Scalr,
Verified: true,
@@ -65,6 +69,10 @@ func TestScalr_FromChunk(t *testing.T) {
DetectorType: detectorspb.DetectorType_Scalr,
Verified: false,
},
+ {
+ DetectorType: detectorspb.DetectorType_Scalr,
+ Verified: false,
+ },
},
wantErr: false,
},