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:
parent
628bc2808b
commit
3036577b31
1 changed files with 10 additions and 0 deletions
10
src/test/fixtures/composes.ts
vendored
10
src/test/fixtures/composes.ts
vendored
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue