diff --git a/src/app/components/auth/signup/signup.component.spec.ts b/src/app/components/auth/signup/signup.component.spec.ts index 3c9c356f0..5b99e7b6f 100644 --- a/src/app/components/auth/signup/signup.component.spec.ts +++ b/src/app/components/auth/signup/signup.component.spec.ts @@ -8,6 +8,7 @@ import { AuthService } from '../../../services/auth.service'; import { WindowService } from '../../../services/window.service'; import { ApiService } from '../../../services/api.service'; import { HttpClientModule } from '@angular/common/http'; +import { EndpointsService } from '../../../services/endpoints.service'; describe('SignupComponent', () => { let component: SignupComponent; @@ -19,7 +20,8 @@ describe('SignupComponent', () => { GlobalService, AuthService, WindowService, - ApiService + ApiService, + EndpointsService ], imports: [ RouterTestingModule, HttpClientModule ], schemas: [ NO_ERRORS_SCHEMA ] diff --git a/src/app/components/auth/signup/signup.component.ts b/src/app/components/auth/signup/signup.component.ts index ca47d611f..1e7344484 100644 --- a/src/app/components/auth/signup/signup.component.ts +++ b/src/app/components/auth/signup/signup.component.ts @@ -48,6 +48,7 @@ export class SignupComponent implements OnInit, AfterViewInit { private globalService: GlobalService, private apiService: ApiService, private route: ActivatedRoute, + private endpointsService: EndpointsService, private router: Router) { } /**