mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
Addresses PR feedback
This commit is contained in:
parent
de55ec1688
commit
a42a1bfa17
@ -72,7 +72,6 @@ describe('<OrganizationsList />', () => {
|
||||
</MemoryRouter>
|
||||
);
|
||||
wrapper.find({ type: 'checkbox' }).simulate('click');
|
||||
wrapper.find('button[aria-label="Delete"]').simulate('click');
|
||||
|
||||
wrapper.find('DataListToolbar').prop('onOpenDeleteModal')();
|
||||
expect(wrapper.find('OrganizationsList').state().isModalOpen).toEqual(true);
|
||||
@ -129,7 +128,6 @@ describe('<OrganizationsList />', () => {
|
||||
wrapper.find('button[aria-label="confirm-delete"]').simulate('click');
|
||||
expect(list.state().orgsToDelete.length).toEqual(list.state().orgsDeleted.length);
|
||||
expect(fetchOrganizations).toHaveBeenCalled();
|
||||
expect(list.state().results).toHaveLength(0);
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
@ -24,7 +24,6 @@ import ExpandCollapse from '../ExpandCollapse';
|
||||
import Search from '../Search';
|
||||
import Sort from '../Sort';
|
||||
import VerticalSeparator from '../VerticalSeparator';
|
||||
// import SelectedList from '../SelectedList';
|
||||
|
||||
class DataListToolbar extends React.Component {
|
||||
render () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user