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

fix: Fix Endpoint Service not being injected in self object #117

Merged
merged 4 commits into from
May 9, 2019
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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