From 84f4acd07943f15d28082512bf58cb5e52b55b78 Mon Sep 17 00:00:00 2001
From: FORESTIER Fabien <fabien.forestier@soprasteria.com>
Date: Thu, 25 Oct 2018 13:57:57 +0200
Subject: [PATCH] Fix rxjs error in contact test

---
 src/app/core/components/contact/contact.component.spec.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/core/components/contact/contact.component.spec.ts b/src/app/core/components/contact/contact.component.spec.ts
index f93bad9a..68b88cac 100644
--- a/src/app/core/components/contact/contact.component.spec.ts
+++ b/src/app/core/components/contact/contact.component.spec.ts
@@ -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);
   }
 
 }
-- 
GitLab