Fix the Angular Test Issues
[portal/nonrtric-controlpanel.git] / webapp-frontend / src / app / footer / footer.component.spec.ts
index 9b1d31a..2c8321c 100644 (file)
@@ -20,6 +20,7 @@
 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
 
 import { FooterComponent } from './footer.component';
+import { UiService } from '../services/ui/ui.service';
 
 describe('FooterComponent', () => {
   let component: FooterComponent;
@@ -27,7 +28,10 @@ describe('FooterComponent', () => {
 
   beforeEach(async(() => {
     TestBed.configureTestingModule({
-      declarations: [ FooterComponent ]
+      declarations: [ FooterComponent ],
+      providers: [
+          UiService
+      ]
     })
     .compileComponents();
   }));