From a79de2b4ed1a9a641528cd7ab477a1f50a340965 Mon Sep 17 00:00:00 2001 From: Marliana Lara Date: Fri, 6 Sep 2019 12:44:11 -0400 Subject: [PATCH] Fix existing test failures --- .../src/components/Sparkline/JobStatusIcon.test.jsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/awx/ui_next/src/components/Sparkline/JobStatusIcon.test.jsx b/awx/ui_next/src/components/Sparkline/JobStatusIcon.test.jsx index 204d305394..86485223ab 100644 --- a/awx/ui_next/src/components/Sparkline/JobStatusIcon.test.jsx +++ b/awx/ui_next/src/components/Sparkline/JobStatusIcon.test.jsx @@ -6,23 +6,23 @@ describe('JobStatusIcon', () => { test('renders the successful job', () => { const wrapper = mount(); expect(wrapper).toHaveLength(1); - expect(wrapper.find('JobStatusIcon__SuccessfulTop')).toHaveLength(1); - expect(wrapper.find('JobStatusIcon__SuccessfulBottom')).toHaveLength(1); + expect(wrapper.find('StatusIcon__SuccessfulTop')).toHaveLength(1); + expect(wrapper.find('StatusIcon__SuccessfulBottom')).toHaveLength(1); }); test('renders running job', () => { const wrapper = mount(); expect(wrapper).toHaveLength(1); - expect(wrapper.find('JobStatusIcon__RunningJob')).toHaveLength(1); + expect(wrapper.find('StatusIcon__RunningJob')).toHaveLength(1); }); test('renders waiting job', () => { const wrapper = mount(); expect(wrapper).toHaveLength(1); - expect(wrapper.find('JobStatusIcon__WaitingJob')).toHaveLength(1); + expect(wrapper.find('StatusIcon__WaitingJob')).toHaveLength(1); }); test('renders failed job', () => { const wrapper = mount(); expect(wrapper).toHaveLength(1); - expect(wrapper.find('JobStatusIcon__FailedTop')).toHaveLength(1); - expect(wrapper.find('JobStatusIcon__FailedBottom')).toHaveLength(1); + expect(wrapper.find('StatusIcon__FailedTop')).toHaveLength(1); + expect(wrapper.find('StatusIcon__FailedBottom')).toHaveLength(1); }); });