Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tikle-cap committed Dec 12, 2024
1 parent 404f918 commit 3bb946f
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('AuthenticationController', () => {
let rolleRepoMock: DeepMocked<RolleRepo>;
const keycloakUserServiceMock: DeepMocked<KeycloakUserService> = createMock<KeycloakUserService>();
let keyCloakConfig: KeycloakConfig;
let personTimeLimitServiceMock: DeepMocked<PersonTimeLimitService>;
const personTimeLimitServiceMock: DeepMocked<PersonTimeLimitService> = createMock<PersonTimeLimitService>();
beforeAll(async () => {
module = await Test.createTestingModule({
imports: [
Expand Down Expand Up @@ -80,7 +80,7 @@ describe('AuthenticationController', () => {
},
{
provide: PersonTimeLimitService,
useValue: createMock<PersonTimeLimitService>(),
useValue: personTimeLimitServiceMock,
},
],
}).compile();
Expand All @@ -95,7 +95,6 @@ describe('AuthenticationController', () => {
dbiamPersonenkontextRepoMock = module.get(DBiamPersonenkontextRepo);
organisationRepoMock = module.get(OrganisationRepository);
rolleRepoMock = module.get(RolleRepo);
personTimeLimitServiceMock = module.get(PersonTimeLimitService);
});

afterEach(() => {
Expand Down

0 comments on commit 3bb946f

Please sign in to comment.