mirror of
https://github.com/ansible/awx.git
synced 2026-05-17 06:17:36 -02:30
Add handleHttpError prop to stop error from org detail test
This commit is contained in:
@@ -36,6 +36,7 @@ describe('<OrganizationDetail />', () => {
|
|||||||
api={{
|
api={{
|
||||||
getOrganizationInstanceGroups
|
getOrganizationInstanceGroups
|
||||||
}}
|
}}
|
||||||
|
handleHttpError={() => {}}
|
||||||
organization={mockDetails}
|
organization={mockDetails}
|
||||||
/>
|
/>
|
||||||
</MemoryRouter>
|
</MemoryRouter>
|
||||||
@@ -63,6 +64,7 @@ describe('<OrganizationDetail />', () => {
|
|||||||
params: { id: '1' }
|
params: { id: '1' }
|
||||||
}}
|
}}
|
||||||
organization={mockDetails}
|
organization={mockDetails}
|
||||||
|
handleHttpError={() => {}}
|
||||||
api={{
|
api={{
|
||||||
getOrganizationInstanceGroups
|
getOrganizationInstanceGroups
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user