From 4ee6a8da92fe2a2951a1e841074f53369daf66f8 Mon Sep 17 00:00:00 2001 From: CD Cabrera Date: Mon, 18 Nov 2019 15:54:11 -0500 Subject: [PATCH] fix(routerTypes): IBM Z systems name --- .../__tests__/__snapshots__/authentication.test.js.snap | 8 ++++---- .../__tests__/__snapshots__/routerTypes.test.js.snap | 4 ++-- src/components/router/routerTypes.js | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/authentication/__tests__/__snapshots__/authentication.test.js.snap b/src/components/authentication/__tests__/__snapshots__/authentication.test.js.snap index f3ed09312..d8168be09 100644 --- a/src/components/authentication/__tests__/__snapshots__/authentication.test.js.snap +++ b/src/components/authentication/__tests__/__snapshots__/authentication.test.js.snap @@ -55,9 +55,9 @@ exports[`Authorization Component should render a non-connected component authori "title": "IBM Power", }, Object { - "id": "ibmsystemz", + "id": "ibmz", "pathParameter": "RHEL for IBM z", - "title": "IBM System Z", + "title": "IBM Z systems", }, Object { "id": "x86", @@ -132,9 +132,9 @@ exports[`Authorization Component should render a non-connected component error: "title": "IBM Power", }, Object { - "id": "ibmsystemz", + "id": "ibmz", "pathParameter": "RHEL for IBM z", - "title": "IBM System Z", + "title": "IBM Z systems", }, Object { "id": "x86", diff --git a/src/components/router/__tests__/__snapshots__/routerTypes.test.js.snap b/src/components/router/__tests__/__snapshots__/routerTypes.test.js.snap index fdf14c38a..81a0e5699 100644 --- a/src/components/router/__tests__/__snapshots__/routerTypes.test.js.snap +++ b/src/components/router/__tests__/__snapshots__/routerTypes.test.js.snap @@ -73,9 +73,9 @@ Array [ "title": "IBM Power", }, Object { - "id": "ibmsystemz", + "id": "ibmz", "pathParameter": "RHEL for IBM z", - "title": "IBM System Z", + "title": "IBM Z systems", }, Object { "id": "x86", diff --git a/src/components/router/routerTypes.js b/src/components/router/routerTypes.js index 5faefbda6..ef79919a7 100644 --- a/src/components/router/routerTypes.js +++ b/src/components/router/routerTypes.js @@ -81,8 +81,8 @@ const navigation = [ pathParameter: RHSM_API_PATH_RHEL_ID_TYPES.IBM_POWER }, { - title: 'IBM System Z', - id: 'ibmsystemz', + title: 'IBM Z systems', + id: 'ibmz', pathParameter: RHSM_API_PATH_RHEL_ID_TYPES.IBM_Z }, {