mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 06:01:25 -03:30
fix NotificationTemplateItem test
This commit is contained in:
parent
a10f52c70e
commit
3ed05e9d9b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user