rm 1password detect test since we test it in cfg gen

This commit is contained in:
Zach committed 2025-04-30 09:57:28 -05:00
1 parent 23cb69fba4
commit 9609928c02
1 file changed
-23
-23
View File
@@ -68,29 +68,6 @@ func TestDetect(t *testing.T) {
}{
// General
"valid allow comment (1)": {
cfgName: "simple",
fragment: Fragment{
Raw: `Key: A3-ASWWYB-798JRY-LJVD4-23DC2-86TVM-H43EB`,
FilePath: "tmp.go",
},
expectedFindings: []report.Finding{
{
Description: "1Password Secret Key",
Secret: "A3-ASWWYB-798JRY-LJVD4-23DC2-86TVM-H43EB",
Match: "A3-ASWWYB-798JRY-LJVD4-23DC2-86TVM-H43EB",
Line: "Key: A3-ASWWYB-798JRY-LJVD4-23DC2-86TVM-H43EB",
File: "tmp.go",
RuleID: "1password-secret-key",
Tags: []string{"1Password"},
StartLine: 0,
EndLine: 0,
StartColumn: 6,
EndColumn: 45,
Entropy: 4.3153114,
},
},
},
{
cfgName: "simple",
fragment: Fragment{
Raw: `awsToken := \"AKIALALEMEL33243OKIA\ // gitleaks:allow"`,