Skip to content

Commit

Permalink
Fix ExpectedDetails of passing invalid subject test (#846)
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Henderson <chris@chenderson.org>
  • Loading branch information
mathewhodson and christopher-henderson authored Jun 16, 2024
1 parent 899709e commit 5b73e7b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions v3/lints/cabf_br/lint_cab_dv_subject_invalid_values_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ func TestNewDvSubjectInvalidValues(t *testing.T) {
ExpectedDetails: "DV certificate contains the invalid attribute type 2.5.4.5",
},
{
Name: "pass - DV with valid values in subjectDN, with CN, on SC62",
InputFilename: "dvWithCNAndCountry.pem",
ExpectedResult: lint.Pass,
ExpectedDetails: "DV certificate contains a subject common name, this is not recommended",
Name: "pass - DV with valid values in subjectDN, with CN, on SC62",
InputFilename: "dvWithCNAndCountry.pem",
ExpectedResult: lint.Pass,
},
{
Name: "pass - DV with valid values in subjectDN, country only, on SC62",
Expand Down

0 comments on commit 5b73e7b

Please sign in to comment.