diff --git a/awx/ui_next/src/screens/Inventory/InventoryList/InventoryList.jsx b/awx/ui_next/src/screens/Inventory/InventoryList/InventoryList.jsx index 4a5cf17947..e786181682 100644 --- a/awx/ui_next/src/screens/Inventory/InventoryList/InventoryList.jsx +++ b/awx/ui_next/src/screens/Inventory/InventoryList/InventoryList.jsx @@ -157,7 +157,7 @@ function InventoryList({ i18n }) { key="delete" onDelete={handleInventoryDelete} itemsToDelete={selected} - pluralizedItemName="Inventories" + pluralizedItemName={i18n._(t`Inventories`)} />, ]} /> diff --git a/awx/ui_next/src/screens/Inventory/InventoryList/InventoryList.test.jsx b/awx/ui_next/src/screens/Inventory/InventoryList/InventoryList.test.jsx index ebe630f82c..6caf0f0afd 100644 --- a/awx/ui_next/src/screens/Inventory/InventoryList/InventoryList.test.jsx +++ b/awx/ui_next/src/screens/Inventory/InventoryList/InventoryList.test.jsx @@ -141,7 +141,7 @@ describe('', () => { jest.clearAllMocks(); }); - test('should load and render teams', async () => { + test('should load and render inventories', async () => { let wrapper; await act(async () => { wrapper = mountWithContexts(); @@ -151,7 +151,7 @@ describe('', () => { expect(wrapper.find('InventoryListItem')).toHaveLength(3); }); - test('should select team when checked', async () => { + test('should select inventory when checked', async () => { let wrapper; await act(async () => { wrapper = mountWithContexts(); @@ -254,7 +254,7 @@ describe('', () => { response: { config: { method: 'delete', - url: '/api/v2/teams/1', + url: '/api/v2/inventory/1', }, data: 'An error occurred', },