diff options
Diffstat (limited to 'spec/frontend/ci_secure_files/mock_data.js')
-rw-r--r-- | spec/frontend/ci_secure_files/mock_data.js | 61 |
1 files changed, 59 insertions, 2 deletions
diff --git a/spec/frontend/ci_secure_files/mock_data.js b/spec/frontend/ci_secure_files/mock_data.js index 5a9e16d1ad6..f532b468fb9 100644 --- a/spec/frontend/ci_secure_files/mock_data.js +++ b/spec/frontend/ci_secure_files/mock_data.js @@ -4,15 +4,72 @@ export const secureFiles = [ name: 'myfile.jks', checksum: '16630b189ab34b2e3504f4758e1054d2e478deda510b2b08cc0ef38d12e80aac', checksum_algorithm: 'sha256', - permissions: 'read_only', created_at: '2022-02-22T22:22:22.222Z', + file_extension: 'jks', + metadata: null, }, { id: 2, name: 'myotherfile.jks', checksum: '16630b189ab34b2e3504f4758e1054d2e478deda510b2b08cc0ef38d12e80aa2', checksum_algorithm: 'sha256', - permissions: 'execute', created_at: '2022-02-22T22:22:22.222Z', + file_extension: 'jks', + metadata: null, + }, + { + id: 3, + name: 'myfile.cer', + checksum: '16630b189ab34b2e3504f4758e1054d2e478deda510b2b08cc0ef38d12e80aa2', + checksum_algorithm: 'sha256', + created_at: '2022-02-22T22:22:22.222Z', + file_extension: 'cer', + expires_at: '2022-04-26T19:20:40.000Z', + metadata: { + id: '33669367788748363528491290218354043267', + issuer: { + C: 'US', + O: 'Apple Inc.', + CN: 'Apple Worldwide Developer Relations Certification Authority', + OU: 'G3', + }, + subject: { + C: 'US', + O: 'Team Name', + CN: 'Apple Distribution: Team Name (ABC123XYZ)', + OU: 'ABC123XYZ', + UID: 'ABC123XYZ', + }, + expires_at: '2022-04-26T19:20:40.000Z', + }, + }, + { + id: 4, + name: 'sample.mobileprovision', + checksum: '9e194bbde00d57c64b6640ed2c9e166d76b4c79d9dbd49770f95be56678f2a62', + checksum_algorithm: 'sha256', + created_at: '2022-11-15T19:29:57.577Z', + expires_at: '2023-08-01T23:15:13.000Z', + metadata: { + id: '6b9fcce1-b9a9-4b37-b2ce-ec4da2044abf', + app_id: 'match Development com.gitlab.ios-demo', + devices: ['00008101-001454860C10001E'], + team_id: ['ABC123XYZ'], + app_name: 'iOS Demo', + platforms: ['iOS'], + team_name: 'Team Name', + expires_at: '2023-08-01T18:15:13.000-05:00', + entitlements: { + 'get-task-allow': true, + 'application-identifier': 'N7SYAN8PX8.com.gitlab.ios-demo', + 'keychain-access-groups': ['ABC123XYZ.*', 'com.apple.token'], + 'com.apple.developer.game-center': true, + 'com.apple.developer.team-identifier': 'ABC123XYZ', + }, + app_id_prefix: ['ABC123XYZ'], + xcode_managed: false, + certificate_ids: ['33669367788748363528491290218354043267'], + }, + file_extension: 'mobileprovision', }, ]; |