From 5b73e7b8fdcbabe138c745f1e6151fb18737f3c6 Mon Sep 17 00:00:00 2001 From: Mathew Hodson Date: Sun, 16 Jun 2024 15:12:28 -0400 Subject: [PATCH] Fix ExpectedDetails of passing invalid subject test (#846) Co-authored-by: Christopher Henderson --- .../cabf_br/lint_cab_dv_subject_invalid_values_test.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/v3/lints/cabf_br/lint_cab_dv_subject_invalid_values_test.go b/v3/lints/cabf_br/lint_cab_dv_subject_invalid_values_test.go index e31a7016f..94c9b7f44 100644 --- a/v3/lints/cabf_br/lint_cab_dv_subject_invalid_values_test.go +++ b/v3/lints/cabf_br/lint_cab_dv_subject_invalid_values_test.go @@ -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",