From 729723205f044c03edfc1e1e8203e5eb1e7c5fd6 Mon Sep 17 00:00:00 2001 From: Kia Lam Date: Mon, 2 Aug 2021 12:48:00 -0400 Subject: [PATCH] Fix unit tests. --- .../screens/InstanceGroup/Instances/InstanceListItem.test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/awx/ui/src/screens/InstanceGroup/Instances/InstanceListItem.test.js b/awx/ui/src/screens/InstanceGroup/Instances/InstanceListItem.test.js index 7deac783be..0b660da15c 100644 --- a/awx/ui/src/screens/InstanceGroup/Instances/InstanceListItem.test.js +++ b/awx/ui/src/screens/InstanceGroup/Instances/InstanceListItem.test.js @@ -36,6 +36,7 @@ const instance = [ mem_capacity: 1, enabled: true, managed_by_policy: true, + node_type: 'hybrid', }, ]; @@ -127,7 +128,8 @@ describe('', () => { }); expect(wrapper.find('Td').at(1).text()).toBe('awx'); expect(wrapper.find('Progress').prop('value')).toBe(40); - expect(wrapper.find('Td').at(2).text()).toBe('Auto'); + expect(wrapper.find('Td').at(2).text()).toBe('hybrid'); + expect(wrapper.find('Td').at(3).text()).toBe('Auto'); expect( wrapper .find('Td')