Skip to content

Commit

Permalink
Remove unused auth components in online-survey-app
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Surface committed Jan 10, 2025
1 parent 9341fbd commit a792d55
Show file tree
Hide file tree
Showing 28 changed files with 2 additions and 1,023 deletions.
2 changes: 0 additions & 2 deletions online-survey-app/src/app/case/services/case.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { NotificationStatus, Notification, NotificationType } from './../classes
import { TangyFormService } from 'src/app/tangy-forms/tangy-form.service';
import { CaseDefinitionsService } from './case-definitions.service';
import { HttpClient } from '@angular/common/http';
import { UserService } from 'src/app/core/auth/_services/user.service';
// Classes.
import { TangyFormResponseModel } from 'tangy-form/tangy-form-response-model.js';
import { Case } from '../classes/case.class'
Expand Down Expand Up @@ -102,7 +101,6 @@ class CaseService {
constructor(
private tangyFormService: TangyFormService,
private caseDefinitionsService: CaseDefinitionsService,
private userService:UserService,
private appConfigService:AppConfigService,
private http:HttpClient
) {
Expand Down
5 changes: 0 additions & 5 deletions online-survey-app/src/app/case/services/cases.service.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { TestBed } from '@angular/core/testing';

import { CasesService } from './cases.service';
import { UserService } from 'src/app/shared/_services/user.service';
import { HttpClientModule } from '@angular/common/http';
import { CaseEventInfo } from './case-event-info.class';
import { CASE_EVENT_STATUS_IN_PROGRESS } from '../classes/case-event.class';
Expand Down Expand Up @@ -237,10 +236,6 @@ describe('CasesService', () => {
imports:[HttpClientModule],
providers: [
{provide:CasesService, useClass:MockCasesService},
{
provide: UserService,
useClass: MockUserService
}
]
}));

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit a792d55

Please sign in to comment.