Skip to content

Commit 742d83d

Browse files
committed
Fix lint issue.
1 parent 8328d8c commit 742d83d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/datastore/mysql/migrations/tables/20251106000000_AddConditionalAccessSCEPTables_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ This does not start with the required prefix`
7373
require.ErrorContains(t, err, "Check constraint 'conditional_access_scep_certificates_chk_1' is violated")
7474

7575
// Test 3: Certificate PEM starting with wrong prefix should also fail
76+
// nolint:gosec,G101
7677
wrongPrefixCertPEM := `-----BEGIN RSA PRIVATE KEY-----
7778
MIIEpAIBAAKCAQEAtN...
7879
-----END RSA PRIVATE KEY-----`

0 commit comments

Comments
 (0)