mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 23:07:42 -02:30
Fix existing test failures
This commit is contained in:
@@ -18,7 +18,7 @@ describe('<OrganizationNotifications />', () => {
|
||||
|
||||
test('initially renders succesfully', () => {
|
||||
mountWithContexts(
|
||||
<OrganizationNotifications />, { context: { network: {
|
||||
<OrganizationNotifications canToggleNotifications />, { context: { network: {
|
||||
api,
|
||||
handleHttpError: () => {}
|
||||
} } }
|
||||
@@ -26,7 +26,7 @@ describe('<OrganizationNotifications />', () => {
|
||||
});
|
||||
test('handles api requests', () => {
|
||||
const wrapper = mountWithContexts(
|
||||
<OrganizationNotifications />, { context: { network: {
|
||||
<OrganizationNotifications canToggleNotifications />, { context: { network: {
|
||||
api,
|
||||
handleHttpError: () => {}
|
||||
} } }
|
||||
|
||||
Reference in New Issue
Block a user