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

OZG-7128 cleanup

parent b6f6d936
Branches
Tags
No related merge requests found
import { TestBed } from '@angular/core/testing';
import { OrganisationseinheitModule } from './organisationseinheit.module';
describe('OrganisationseinheitenModule', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [OrganisationseinheitModule],
});
});
it('should create', () => {
expect(OrganisationseinheitModule).toBeDefined();
});
});
import { ApiRootService } from '@alfa-client/api-root-shared';
import { ResourceRepository } from '@alfa-client/tech-shared';
import { NgModule } from '@angular/core';
import {
createOrganisationsEinheitListResourceService,
OrganisationsEinheitListResourceService,
} from './organisations-einheit-list-resource.service';
import {
createOrganisationsEinheitResourceService,
OrganisationsEinheitResourceService,
} from './organisations-einheit-resource.service';
@NgModule({
providers: [
{
provide: OrganisationsEinheitListResourceService,
useFactory: createOrganisationsEinheitListResourceService,
deps: [ResourceRepository, ApiRootService],
},
{
provide: OrganisationsEinheitResourceService,
useFactory: createOrganisationsEinheitResourceService,
deps: [ResourceRepository, OrganisationsEinheitListResourceService],
},
],
})
export class OrganisationseinheitModule {}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment