Skip to content

Commit

Permalink
fix: Fix Endpoint Service not being injected in self object (Cloud-CV…
Browse files Browse the repository at this point in the history
…#117)

* Endpoint Service was not being injected in self object

* Add Endpoint service in test file providers
  • Loading branch information
Muhammad Taha Faroooq authored and sanketbansal committed May 18, 2019
1 parent 3e41821 commit 52c2f05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/components/auth/signup/signup.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -19,7 +20,8 @@ describe('SignupComponent', () => {
GlobalService,
AuthService,
WindowService,
ApiService
ApiService,
EndpointsService
],
imports: [ RouterTestingModule, HttpClientModule ],
schemas: [ NO_ERRORS_SCHEMA ]
Expand Down
1 change: 1 addition & 0 deletions src/app/components/auth/signup/signup.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) { }

/**
Expand Down

0 comments on commit 52c2f05

Please sign in to comment.