Skip to content

Find, verify, and analyze leaked credentials

fixed website pulse detector integration tests (#3776)

Kashif Khand639d2e5da57
diff --git a/pkg/detectors/websitepulse/websitepulse_integration_test.go b/pkg/detectors/websitepulse/websitepulse_integration_test.go
index daec26e07..4ca1a1582 100644
--- a/pkg/detectors/websitepulse/websitepulse_integration_test.go
+++ b/pkg/detectors/websitepulse/websitepulse_integration_test.go
@@ -45,6 +45,10 @@ func TestWebsitepulse_FromChunk(t *testing.T) {
verify: true,
},
want: []detectors.Result{
+ {
+ DetectorType: detectorspb.DetectorType_Websitepulse,
+ Verified: false,
+ },
{
DetectorType: detectorspb.DetectorType_Websitepulse,
Verified: true,
@@ -65,6 +69,10 @@ func TestWebsitepulse_FromChunk(t *testing.T) {
DetectorType: detectorspb.DetectorType_Websitepulse,
Verified: false,
},
+ {
+ DetectorType: detectorspb.DetectorType_Websitepulse,
+ Verified: false,
+ },
},
wantErr: false,
},