From 724b10e5be732b6e6e00d1b185bc85d9b6e4d86d Mon Sep 17 00:00:00 2001 From: David Tuite Date: Tue, 22 Jun 2021 10:53:19 +0100 Subject: [PATCH] Clasify system has resources card Signed-off-by: David Tuite --- .../src/components/HasResourcesCard/HasResourcesCard.test.tsx | 4 ++-- .../src/components/HasResourcesCard/HasResourcesCard.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/catalog/src/components/HasResourcesCard/HasResourcesCard.test.tsx b/plugins/catalog/src/components/HasResourcesCard/HasResourcesCard.test.tsx index 80ae4f9aee..72202bd4a6 100644 --- a/plugins/catalog/src/components/HasResourcesCard/HasResourcesCard.test.tsx +++ b/plugins/catalog/src/components/HasResourcesCard/HasResourcesCard.test.tsx @@ -66,7 +66,7 @@ describe('', () => { , ); - expect(getByText('Resources')).toBeInTheDocument(); + expect(getByText('Has resources')).toBeInTheDocument(); expect( getByText(/No resource is part of this system/i), ).toBeInTheDocument(); @@ -114,7 +114,7 @@ describe('', () => { ); await waitFor(() => { - expect(getByText('Resources')).toBeInTheDocument(); + expect(getByText('Has resources')).toBeInTheDocument(); expect(getByText(/target-name/i)).toBeInTheDocument(); }); }); diff --git a/plugins/catalog/src/components/HasResourcesCard/HasResourcesCard.tsx b/plugins/catalog/src/components/HasResourcesCard/HasResourcesCard.tsx index bf96945602..3a57317a06 100644 --- a/plugins/catalog/src/components/HasResourcesCard/HasResourcesCard.tsx +++ b/plugins/catalog/src/components/HasResourcesCard/HasResourcesCard.tsx @@ -31,7 +31,7 @@ export const HasResourcesCard = ({ variant = 'gridItem' }: Props) => { return (