fixtures: Add file system configuration to an existing mock

This adds basic file system configuration including an `/usr` sub-directory to an already existing mock.
This commit is contained in:
regexowl 2023-11-14 11:27:15 +01:00 committed by Sanne Raymaekers
parent 628bc2808b
commit 3036577b31

View file

@ -216,6 +216,12 @@ export const mockComposes: ComposesResponseItem[] = [
created_at: '2021-04-27T12:31:12Z',
id: 'b7193673-8dcc-4a5f-ac30-e9f4940d8346',
request: {
customizations: {
filesystem: [
{ min_size: 10737418240, mountpoint: '/' },
{ min_size: 1073741824, mountpoint: '/usr/test' },
],
},
distribution: RHEL_8,
image_requests: [
{
@ -634,6 +640,10 @@ export const mockStatus = (composeId: string): ComposeStatus => {
rhsm: false,
},
],
filesystem: [
{ min_size: 10737418240, mountpoint: '/' },
{ min_size: 1073741824, mountpoint: '/usr/test' },
],
},
distribution: RHEL_8,
image_requests: [