Skip to content

Find, verify, and analyze leaked credentials

[chore] - Use correct detector proto (#1347)

ahrav0c386220dde7
diff --git a/pkg/detectors/databrickstoken/databrickstoken_test.go b/pkg/detectors/databrickstoken/databrickstoken_test.go
index c1f1afe59..9f7735439 100644
--- a/pkg/detectors/databrickstoken/databrickstoken_test.go
+++ b/pkg/detectors/databrickstoken/databrickstoken_test.go
@@ -10,9 +10,9 @@ import (
"time"
"github.com/kylelemons/godebug/pretty"
- "github.com/trufflesecurity/trufflehog/v3/pkg/detectors"
"github.com/trufflesecurity/trufflehog/v3/pkg/common"
+ "github.com/trufflesecurity/trufflehog/v3/pkg/detectors"
"github.com/trufflesecurity/trufflehog/v3/pkg/pb/detectorspb"
)
@@ -48,7 +48,7 @@ func TestDatabrickstoken_FromChunk(t *testing.T) {
},
want: []detectors.Result{
{
- DetectorType: detectorspb.DetectorType_Databrickstoken,
+ DetectorType: detectorspb.DetectorType_DatabricksToken,
Verified: true,
},
},
@@ -64,7 +64,7 @@ func TestDatabrickstoken_FromChunk(t *testing.T) {
},
want: []detectors.Result{
{
- DetectorType: detectorspb.DetectorType_Databrickstoken,
+ DetectorType: detectorspb.DetectorType_DatabricksToken,
Verified: false,
},
},