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

OZG-6720 CR

parent 8b1781d0
Branches
Tags
No related merge requests found
import { AdminOrganisationsEinheitResource, OrganisationsEinheitFormContainerComponent } from '@admin-client/admin-settings'; import { AdminOrganisationsEinheitResource, OrganisationsEinheitFormContainerComponent } from '@admin-client/admin-settings';
import { StateResource, createStateResource } from '@alfa-client/tech-shared'; import { StateResource, createStateResource } from '@alfa-client/tech-shared';
import { Mock, existsAsHtmlElement, getElementFromFixture, getMockComponent, mock } from '@alfa-client/test-utils'; import { Mock, existsAsHtmlElement, getElementFromFixture, getMockComponent, mock } from '@alfa-client/test-utils';
import { UiModule } from '@alfa-client/ui'; import { SpinnerComponent } from '@alfa-client/ui';
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed } from '@angular/core/testing';
import { MockComponent } from 'ng-mocks'; import { MockComponent } from 'ng-mocks';
import { of } from 'rxjs'; import { of } from 'rxjs';
...@@ -29,7 +29,11 @@ describe('OrganisationsEinheitFormContainerComponent', () => { ...@@ -29,7 +29,11 @@ describe('OrganisationsEinheitFormContainerComponent', () => {
}; };
await TestBed.configureTestingModule({ await TestBed.configureTestingModule({
declarations: [OrganisationsEinheitFormContainerComponent, MockComponent(OrganisationsEinheitFormComponent), UiModule], declarations: [
OrganisationsEinheitFormContainerComponent,
MockComponent(OrganisationsEinheitFormComponent),
MockComponent(SpinnerComponent),
],
providers: [{ provide: OrganisationsEinheitService, useValue: organisationsEinheitService }], providers: [{ provide: OrganisationsEinheitService, useValue: organisationsEinheitService }],
}).compileComponents(); }).compileComponents();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment