From 5417db66bf9d647979933a373284b4e8e951c45b Mon Sep 17 00:00:00 2001
From: Hamza GRAINI <hamza.graini@xelians.fr>
Date: Tue, 8 Dec 2020 16:25:33 +0100
Subject: [PATCH] [FOX-323] Fix test logbook-operation

---
 .../app/logbook-operation/logbook-operation.component.spec.ts   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/ui-frontend/projects/referential/src/app/logbook-operation/logbook-operation.component.spec.ts b/ui/ui-frontend/projects/referential/src/app/logbook-operation/logbook-operation.component.spec.ts
index c15eedc43..5dc2bc2eb 100644
--- a/ui/ui-frontend/projects/referential/src/app/logbook-operation/logbook-operation.component.spec.ts
+++ b/ui/ui-frontend/projects/referential/src/app/logbook-operation/logbook-operation.component.spec.ts
@@ -63,7 +63,7 @@ describe('LogbookOperationComponent', () => {
         { provide: ActivatedRoute, useValue: { paramMap: EMPTY, data: EMPTY } },
         { provide: LogbookSearchService, useValue: { search: () => EMPTY } },
         { provide: Router, useValue: { navigate: () => { } } },
-        { provide: GlobalEventService, useValue: { pageEvent: EMPTY, customerEvent: EMPTY, tenantEvent: EMPTY } },
+        GlobalEventService,
         { provide: ENVIRONMENT, useValue: environment }
       ],
       schemas: [NO_ERRORS_SCHEMA]
-- 
GitLab