diff --git a/src/app/core/components/contact/contact.component.spec.ts b/src/app/core/components/contact/contact.component.spec.ts
index 68b88cacd7eae350c34ed0acec877110a028933a..5e7f20affc318d479ff4b3817e79fb280fb39a1a 100644
--- a/src/app/core/components/contact/contact.component.spec.ts
+++ b/src/app/core/components/contact/contact.component.spec.ts
@@ -2,9 +2,10 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
 
 import { ContactComponent } from './contact.component';
 import { ReactiveFormsModule } from '@angular/forms';
-import { EmailService, NotificationService } from '../../services';
+import { EmailService, NotificationService, NavigationHistoryService } from '../../services';
 import { BehaviorSubject, of } from 'rxjs';
 import { Email } from '../../models';
+import { RouterTestingModule } from '@angular/router/testing';
 
 export class NotificationServiceMock {
 
@@ -40,6 +41,7 @@ describe('ContactComponent', () => {
     TestBed.configureTestingModule({
       imports: [
         ReactiveFormsModule,
+        RouterTestingModule,
       ],
       providers: [
         {
@@ -50,6 +52,7 @@ describe('ContactComponent', () => {
           provide: NotificationService,
           useClass: NotificationServiceMock,
         },
+        NavigationHistoryService,
       ],
       declarations: [ContactComponent],
     })