diff --git a/awx/ui/src/screens/NotificationTemplate/NotificationTemplateList/NotificationTemplateListItem.test.js b/awx/ui/src/screens/NotificationTemplate/NotificationTemplateList/NotificationTemplateListItem.test.js index 59d417763f..c7c7bddb6d 100644 --- a/awx/ui/src/screens/NotificationTemplate/NotificationTemplateList/NotificationTemplateListItem.test.js +++ b/awx/ui/src/screens/NotificationTemplate/NotificationTemplateList/NotificationTemplateListItem.test.js @@ -5,6 +5,7 @@ import { mountWithContexts } from '../../../../testUtils/enzymeHelpers'; import NotificationTemplateListItem from './NotificationTemplateListItem'; jest.mock('../../../api/models/NotificationTemplates'); +jest.mock('../../../api/models/Notifications'); const template = { id: 3, @@ -77,6 +78,7 @@ describe('', () => { template={template} onAddToast={jest.fn()} detailUrl="/notification_templates/3/detail" + onAddToast={() => {}} />