Skip to content

Find, verify, and analyze leaked credentials

fixed integration test for neutrinoapi detector (#3796)

Kashif Khan00c0bbf7a83c
diff --git a/pkg/detectors/neutrinoapi/neutrinoapi_integration_test.go b/pkg/detectors/neutrinoapi/neutrinoapi_integration_test.go
index 599e8e543..72aceff97 100644
--- a/pkg/detectors/neutrinoapi/neutrinoapi_integration_test.go
+++ b/pkg/detectors/neutrinoapi/neutrinoapi_integration_test.go
@@ -48,6 +48,10 @@ func TestNeutrinoApi_FromChunk(t *testing.T) {
verify: true,
},
want: []detectors.Result{
+ {
+ DetectorType: detectorspb.DetectorType_NeutrinoApi,
+ Verified: false,
+ },
{
DetectorType: detectorspb.DetectorType_NeutrinoApi,
Verified: true,
@@ -68,6 +72,10 @@ func TestNeutrinoApi_FromChunk(t *testing.T) {
DetectorType: detectorspb.DetectorType_NeutrinoApi,
Verified: false,
},
+ {
+ DetectorType: detectorspb.DetectorType_NeutrinoApi,
+ Verified: false,
+ },
},
wantErr: false,
},