mirror of
https://github.com/ansible/awx.git
synced 2026-04-20 17:32:53 -02:30
fix NotificationTemplateItem test
This commit is contained in:
@@ -39,7 +39,9 @@ describe('<NotificationTemplateListItem />', () => {
|
||||
});
|
||||
|
||||
test('should send test notification', async () => {
|
||||
NotificationTemplatesAPI.test.mockResolvedValue({});
|
||||
NotificationTemplatesAPI.test.mockResolvedValue({
|
||||
data: { notification: 1 },
|
||||
});
|
||||
|
||||
const wrapper = mountWithContexts(
|
||||
<NotificationTemplateListItem
|
||||
|
||||
Reference in New Issue
Block a user