Skip to content
Snippets Groups Projects
Commit 84f4acd0 authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Fix rxjs error in contact test

parent d751d34a
Branches
Tags
No related merge requests found
Pipeline #
......@@ -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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment