From 0ea2696ac5996f5df19c2c8218c97694b829a9cd Mon Sep 17 00:00:00 2001 From: regexowl Date: Tue, 21 Nov 2023 14:01:07 +0100 Subject: [PATCH] fixtures: Update image names 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." --- src/test/fixtures/composes.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/fixtures/composes.ts b/src/test/fixtures/composes.ts index 231abd79..22a54d72 100644 --- a/src/test/fixtures/composes.ts +++ b/src/test/fixtures/composes.ts @@ -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, @@ -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, @@ -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,