Commit 84f4acd0 authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Fix rxjs error in contact test

parent d751d34a
Pipeline #1360 passed with stages
in 7 minutes and 53 seconds
......@@ -3,7 +3,7 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ContactComponent } from './contact.component';
import { ReactiveFormsModule } from '@angular/forms';
import { EmailService, NotificationService } from '../../services';
import { BehaviorSubject, Observable } from 'rxjs';
import { BehaviorSubject, of } from 'rxjs';
import { Email } from '../../models';
export class NotificationServiceMock {
......@@ -11,7 +11,7 @@ export class NotificationServiceMock {
constructor() { }
send(email: Email) {
return Observable.of(null);
return of(null);
}
}
......
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