Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Commit

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

* Add Endpoint service in test file providers
  • Loading branch information
Muhammad Taha Faroooq authored and Shekharrajak committed May 9, 2019
1 parent 9e9d5b9 commit 64ac4eb
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 64ac4eb

Please sign in to comment.