From 3ed05e9d9b6c790e62058a63b090f028ee59af84 Mon Sep 17 00:00:00 2001 From: Keith Grant Date: Fri, 18 Sep 2020 10:20:17 -0700 Subject: [PATCH] fix NotificationTemplateItem test --- .../NotificationTemplateListItem.test.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/awx/ui_next/src/screens/NotificationTemplate/NotificationTemplateList/NotificationTemplateListItem.test.jsx b/awx/ui_next/src/screens/NotificationTemplate/NotificationTemplateList/NotificationTemplateListItem.test.jsx index 5a4566779e..58878d3b96 100644 --- a/awx/ui_next/src/screens/NotificationTemplate/NotificationTemplateList/NotificationTemplateListItem.test.jsx +++ b/awx/ui_next/src/screens/NotificationTemplate/NotificationTemplateList/NotificationTemplateListItem.test.jsx @@ -39,7 +39,9 @@ describe('', () => { }); test('should send test notification', async () => { - NotificationTemplatesAPI.test.mockResolvedValue({}); + NotificationTemplatesAPI.test.mockResolvedValue({ + data: { notification: 1 }, + }); const wrapper = mountWithContexts(