Skip to content
Snippets Groups Projects
Commit f58e028a authored by Jan Zickermann's avatar Jan Zickermann
Browse files

OZG-4995 Remove bad test

parent 7d4064b5
Branches
Tags
No related merge requests found
...@@ -70,13 +70,8 @@ describe('OrganisationseinheitContainerComponent', () => { ...@@ -70,13 +70,8 @@ describe('OrganisationseinheitContainerComponent', () => {
}); });
describe('organisationseinheit list', () => { describe('organisationseinheit list', () => {
it('should set groups input', async () => {
await fixture.whenStable();
expect(listComponent.organisationseinheitItems).toEqual(organisationseinheitItems); it('should open form for editing on editOrganisationseinheit event', () => {
});
it('should open form for editing on editGroup event', () => {
const organisationseinheit: Organisationseinheit = organisationseinheitItems[0]; const organisationseinheit: Organisationseinheit = organisationseinheitItems[0];
formComponent.openEdit = jest.fn(); formComponent.openEdit = jest.fn();
...@@ -85,7 +80,7 @@ describe('OrganisationseinheitContainerComponent', () => { ...@@ -85,7 +80,7 @@ describe('OrganisationseinheitContainerComponent', () => {
expect(formComponent.openEdit).toHaveBeenCalledWith(organisationseinheit); expect(formComponent.openEdit).toHaveBeenCalledWith(organisationseinheit);
}); });
it('should call delete form on deleteGroup event', () => { it('should call delete form on deleteOrganisationseinheit event', () => {
const organisationseinheit: Organisationseinheit = organisationseinheitItems[0]; const organisationseinheit: Organisationseinheit = organisationseinheitItems[0];
formComponent.delete = jest.fn(); formComponent.delete = jest.fn();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment