Skip to content

Commit

Permalink
fixtures: Update image names
Browse files Browse the repository at this point in the history
This updates the names of images to how should they look like according to the image name validation rules in Wizard.

"The image name can be 3-63 characters long. It can contain lowercase letters, digits and hyphens, has to start with a letter and cannot end with a hyphen."
  • Loading branch information
regexowl committed Nov 21, 2023
1 parent 9ab3d45 commit 0ea2696
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/fixtures/composes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const composesEndpoint = (
export const mockComposes: ComposesResponseItem[] = [
{
id: '1579d95b-8f1d-4982-8c53-8c2afa4ab04c',
image_name: 'testImageName',
image_name: 'test-image-name',
created_at: '2021-04-27T12:31:12Z',
request: {
distribution: RHEL_8,
Expand Down Expand Up @@ -282,7 +282,7 @@ export const mockComposes: ComposesResponseItem[] = [
},
{
id: '1679d95b-8f1d-4982-8c53-8c2afa4ab04c',
image_name: 'testOscapImageName',
image_name: 'test-oscap-image-name',
created_at: '2021-04-27T12:31:12Z',
request: {
distribution: RHEL_8,
Expand Down Expand Up @@ -1049,7 +1049,7 @@ export const mockComposesShareImageModal = {
byId: {
'1579d95b-8f1d-4982-8c53-8c2afa4ab04c': {
id: '1579d95b-8f1d-4982-8c53-8c2afa4abc',
image_name: 'testImageName',
image_name: 'test-image-name',
created_at: '2021-04-27T12:31:12Z',
request: {
distribution: RHEL_8,
Expand Down

0 comments on commit 0ea2696

Please sign in to comment.