Skip to content
Snippets Groups Projects
Commit 23d9e3d3 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6301 OZG-6525 Add missing test

parent 520dfa15
No related branches found
No related tags found
No related merge requests found
......@@ -174,6 +174,12 @@ describe('SearchOrganisationsEinheitContainerComponent', () => {
});
describe('select search result', () => {
it('should set select result', () => {
component.selectSearchResult(organisationsEinheitResource);
expect(service.selectSearchResult).toHaveBeenCalledWith(organisationsEinheitResource);
});
it('should call service', () => {
component.selectSearchResult(organisationsEinheitResource);
......
......@@ -9,7 +9,7 @@ import {
OrganisationsEinheitListResource,
OrganisationsEinheitResource,
} from 'libs/collaboration-shared/src/lib/organisations-einheit.model';
import { Observable, Subscription } from 'rxjs';
import { Observable } from 'rxjs';
@Component({
selector: 'alfa-search-organisations-einheit-container',
......@@ -21,7 +21,6 @@ export class SearchOrganisationsEinheitContainerComponent implements OnInit {
>;
public readonly organisationsEinheitListLinkRel = OrganisationsEinheitListLinkRel;
keydownEventsSubscription: Subscription;
constructor(
private readonly service: OrganisationsEinheitService,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment