From 0e81f5d083e6ec9fe25aaabeef7515ca1bdba8dd Mon Sep 17 00:00:00 2001 From: Paul Tavares Date: Wed, 22 Apr 2020 09:24:31 -0400 Subject: [PATCH] Fix test case --- .../public/applications/endpoint/view/hosts/index.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/endpoint/public/applications/endpoint/view/hosts/index.test.tsx b/x-pack/plugins/endpoint/public/applications/endpoint/view/hosts/index.test.tsx index 88416b577ed0..38fccec6abe4 100644 --- a/x-pack/plugins/endpoint/public/applications/endpoint/view/hosts/index.test.tsx +++ b/x-pack/plugins/endpoint/public/applications/endpoint/view/hosts/index.test.tsx @@ -137,7 +137,7 @@ describe('when on the hosts page', () => { const renderResult = render(); const policyStatusLink = await renderResult.findByTestId('policyStatusValue'); expect(policyStatusLink).not.toBeNull(); - expect(policyStatusLink.textContent).toEqual('Successful'); + expect(policyStatusLink.textContent).toEqual('Success'); expect(policyStatusLink.getAttribute('href')).toEqual( '?selected_host=1&show=policy_response' );