diff options
Diffstat (limited to 'spec/frontend/commit/mock_data.js')
-rw-r--r-- | spec/frontend/commit/mock_data.js | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/spec/frontend/commit/mock_data.js b/spec/frontend/commit/mock_data.js index a13ef9c563e..3b6971d9607 100644 --- a/spec/frontend/commit/mock_data.js +++ b/spec/frontend/commit/mock_data.js @@ -201,3 +201,34 @@ export const mockUpstreamQueryResponse = { }, }, }; + +export const sshSignatureProp = { + __typename: 'SshSignature', + verificationStatus: 'VERIFIED', + keyFingerprintSha256: 'xxx', +}; + +export const gpgSignatureProp = { + __typename: 'GpgSignature', + verificationStatus: 'VERIFIED', + gpgKeyPrimaryKeyid: 'yyy', +}; + +export const x509SignatureProp = { + __typename: 'X509Signature', + verificationStatus: 'VERIFIED', + x509Certificate: { + subject: 'CN=gitlab@example.org,OU=Example,O=World', + subjectKeyIdentifier: 'BC:BC:BC:BC:BC:BC:BC:BC', + x509Issuer: { + subject: 'CN=PKI,OU=Example,O=World', + subjectKeyIdentifier: 'AB:AB:AB:AB:AB:AB:AB:AB:', + }, + }, +}; + +export const x509CertificateDetailsProp = { + title: 'Title', + subject: 'CN=gitlab@example.org,OU=Example,O=World', + subjectKeyIdentifier: 'BC BC BC BC BC BC BC BC', +}; |