Skip to content

Commit 52c2f05

Browse files
Muhammad Taha Faroooqsanketbansal
Muhammad Taha Faroooq
authored andcommitted
fix: Fix Endpoint Service not being injected in self object (Cloud-CV#117)
* Endpoint Service was not being injected in self object * Add Endpoint service in test file providers
1 parent 3e41821 commit 52c2f05

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/app/components/auth/signup/signup.component.spec.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { AuthService } from '../../../services/auth.service';
88
import { WindowService } from '../../../services/window.service';
99
import { ApiService } from '../../../services/api.service';
1010
import { HttpClientModule } from '@angular/common/http';
11+
import { EndpointsService } from '../../../services/endpoints.service';
1112

1213
describe('SignupComponent', () => {
1314
let component: SignupComponent;
@@ -19,7 +20,8 @@ describe('SignupComponent', () => {
1920
GlobalService,
2021
AuthService,
2122
WindowService,
22-
ApiService
23+
ApiService,
24+
EndpointsService
2325
],
2426
imports: [ RouterTestingModule, HttpClientModule ],
2527
schemas: [ NO_ERRORS_SCHEMA ]

src/app/components/auth/signup/signup.component.ts

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export class SignupComponent implements OnInit, AfterViewInit {
4848
private globalService: GlobalService,
4949
private apiService: ApiService,
5050
private route: ActivatedRoute,
51+
private endpointsService: EndpointsService,
5152
private router: Router) { }
5253

5354
/**

0 commit comments

Comments
 (0)