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