diff --git a/ogWebconsole/src/app/components/ogboot/ogboot-status/ogboot-status.component.spec.ts b/ogWebconsole/src/app/components/ogboot/ogboot-status/ogboot-status.component.spec.ts index 8400c16..6546320 100644 --- a/ogWebconsole/src/app/components/ogboot/ogboot-status/ogboot-status.component.spec.ts +++ b/ogWebconsole/src/app/components/ogboot/ogboot-status/ogboot-status.component.spec.ts @@ -18,13 +18,14 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { ToastrModule } from 'ngx-toastr'; import { TranslateModule } from '@ngx-translate/core'; import { JoyrideModule } from 'ngx-joyride'; +import {LoadingComponent} from "../../../shared/loading/loading.component"; describe('OgbootStatusComponent', () => { let component: OgbootStatusComponent; let fixture: ComponentFixture; beforeEach(async () => { await TestBed.configureTestingModule({ - declarations: [OgbootStatusComponent], + declarations: [OgbootStatusComponent, LoadingComponent], imports: [ HttpClientTestingModule, ToastrModule.forRoot(), @@ -39,7 +40,7 @@ describe('OgbootStatusComponent', () => { MatTooltipModule, FormsModule, MatProgressSpinner, - MatProgressSpinnerModule, + MatProgressSpinnerModule, MatDialogModule, ReactiveFormsModule, MatSelectModule, @@ -48,8 +49,8 @@ describe('OgbootStatusComponent', () => { JoyrideModule.forRoot(), ], providers: [ - { provide: MatDialogRef, useValue: {} }, - { provide: MAT_DIALOG_DATA, useValue: {} } + { provide: MatDialogRef, useValue: {} }, + { provide: MAT_DIALOG_DATA, useValue: {} } ] }).compileComponents(); }); diff --git a/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/status/status.component.spec.ts b/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/status/status.component.spec.ts index 5fbe96d..2ca1517 100644 --- a/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/status/status.component.spec.ts +++ b/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/status/status.component.spec.ts @@ -20,6 +20,7 @@ import { ToastrModule } from 'ngx-toastr'; import { NgxChartsModule } from '@swimlane/ngx-charts'; import { TranslateModule } from '@ngx-translate/core'; import { JoyrideModule } from 'ngx-joyride'; +import {LoadingComponent} from "../../../../shared/loading/loading.component"; describe('StatusComponent', () => { let component: StatusComponent; @@ -27,7 +28,7 @@ describe('StatusComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ - declarations: [StatusComponent], + declarations: [StatusComponent, LoadingComponent], imports: [ HttpClientTestingModule, ToastrModule.forRoot(), @@ -51,8 +52,8 @@ describe('StatusComponent', () => { JoyrideModule.forRoot(), ], providers: [ - { provide: MatDialogRef, useValue: {} }, - { provide: MAT_DIALOG_DATA, useValue: {} } + { provide: MatDialogRef, useValue: {} }, + { provide: MAT_DIALOG_DATA, useValue: {} } ] }) .compileComponents();