Add handleHttpError prop to stop error from org detail test

This commit is contained in:
John Mitchell
2019-04-11 12:36:19 -04:00
parent bab7095d67
commit b17fb8a596

View File

@@ -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
}} }}