Skip to content

Find, verify, and analyze leaked credentials

fixed plivo detector integration test (#3794)

Kashif Khan9dde9e946c77
diff --git a/pkg/detectors/plivo/plivo_integration_test.go b/pkg/detectors/plivo/plivo_integration_test.go
index 26db005f4..af254874b 100644
--- a/pkg/detectors/plivo/plivo_integration_test.go
+++ b/pkg/detectors/plivo/plivo_integration_test.go
@@ -52,6 +52,7 @@ func TestPlivo_FromChunk(t *testing.T) {
DetectorType: detectorspb.DetectorType_Plivo,
Redacted: id,
Verified: true,
+ RawV2: []byte(secret + id),
},
},
wantErr: false,
@@ -69,6 +70,7 @@ func TestPlivo_FromChunk(t *testing.T) {
DetectorType: detectorspb.DetectorType_Plivo,
Redacted: id,
Verified: false,
+ RawV2: []byte(inactiveSecret + id),
},
},
wantErr: false,