Commit e93e72ba authored by Maxime REYROLLE's avatar Maxime REYROLLE

remove unused imports

parent c9061ac8
Pipeline #1285 passed with stage
in 13 minutes and 51 seconds
import {TestBed, inject, fakeAsync, tick} from '@angular/core/testing';
import {TestBed, inject} from '@angular/core/testing';
import {HttpClientTestingModule, HttpTestingController} from '@angular/common/http/testing';
import {BaseRequestOptions, Http, RequestMethod, ResponseOptions, Response} from '@angular/http';
import {MockBackend} from '@angular/http/testing';
import {encodeTestToken} from 'angular2-jwt/angular2-jwt-test-helpers';
import {AuthenticationService} from './authentication.service';
......@@ -9,16 +7,8 @@ import {AuthenticationService} from './authentication.service';
describe('AuthenticationService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
providers: [AuthenticationService,
{
provide: Http,
useFactory: (mockBackend: MockBackend, requestOptions: BaseRequestOptions) => {
return new Http(mockBackend, requestOptions);
},
deps: [MockBackend, BaseRequestOptions]
},
MockBackend,
BaseRequestOptions
providers: [
AuthenticationService,
],
imports: [
HttpClientTestingModule,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment