mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
addresses PR issues
This commit is contained in:
parent
178d519f6e
commit
2daf202e52
@ -1,15 +1,9 @@
|
||||
import React from 'react';
|
||||
import { mount } from 'enzyme';
|
||||
<<<<<<< HEAD
|
||||
import { MemoryRouter } from 'react-router-dom'; import { MemoryRouter } from 'react-router-dom';
|
||||
import { I18nProvider } from '@lingui/react'; import { I18nProvider } from '@lingui/react';
|
||||
import Organization from '../../../../../src/pages/Organizations/screens/Organization/Organization'; import Organization, { _Organization } from '../../../../../src/pages/Organizations/screens/Organization/Organization';
|
||||
|
||||
=======
|
||||
import { MemoryRouter } from 'react-router-dom';
|
||||
import { I18nProvider } from '@lingui/react';
|
||||
import Organization, { _Organization } from '../../../../../src/pages/Organizations/screens/Organization/Organization';
|
||||
>>>>>>> addresses PR issues
|
||||
|
||||
describe('<OrganizationView />', () => {
|
||||
test('initially renders succesfully', () => {
|
||||
|
||||
@ -71,14 +71,11 @@ class Organization extends Component {
|
||||
setBreadcrumb(data);
|
||||
this.setState({ organization: data, loading: false });
|
||||
} catch (error) {
|
||||
<<<<<<< HEAD
|
||||
handleHttpError(error) || this.setState({ error: true, loading: false });
|
||||
=======
|
||||
this.setState({ error: true });
|
||||
} finally {
|
||||
this.setState({ loading: false });
|
||||
this.checkLocation();
|
||||
>>>>>>> addresses PR issues
|
||||
}
|
||||
}
|
||||
|
||||
@ -226,10 +223,5 @@ class Organization extends Component {
|
||||
);
|
||||
}
|
||||
}
|
||||
<<<<<<< HEAD
|
||||
|
||||
export default withNetwork(withRouter(Organization));
|
||||
=======
|
||||
export { Organization as _Organization };
|
||||
export default withRouter(Organization);
|
||||
>>>>>>> addresses PR issues
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user