Fix component references in ShowMonoliticImagesComponent tests
testing/ogGui-multibranch/pipeline/head This commit looks good
Details
testing/ogGui-multibranch/pipeline/head This commit looks good
Details
parent
390bc54213
commit
bd0135b796
|
@ -1,6 +1,6 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { HttpClientTestingModule } from '@angular/common/http/testing';
|
||||
import { ShowMonoliticImagesComponent } from './show-images.component';
|
||||
import { ShowMonoliticImagesComponent } from './show-monolitic-images.component';
|
||||
import { ToastrModule } from 'ngx-toastr';
|
||||
import { MatDialogModule, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
@ -18,8 +18,8 @@ import { MatInputModule } from '@angular/material/input';
|
|||
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
||||
|
||||
describe('ShowMonoliticImagesComponent', () => {
|
||||
let component: ShowImagesComponent;
|
||||
let fixture: ComponentFixture<ShowImagesComponent>;
|
||||
let component: ShowMonoliticImagesComponent;
|
||||
let fixture: ComponentFixture<ShowMonoliticImagesComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
const mockConfigService = {
|
||||
|
@ -27,7 +27,7 @@ describe('ShowMonoliticImagesComponent', () => {
|
|||
};
|
||||
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [ShowImagesComponent, LoadingComponent],
|
||||
declarations: [ShowMonoliticImagesComponent, LoadingComponent],
|
||||
imports: [
|
||||
HttpClientTestingModule,
|
||||
ToastrModule.forRoot(),
|
||||
|
@ -52,7 +52,7 @@ describe('ShowMonoliticImagesComponent', () => {
|
|||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(ShowImagesComponent);
|
||||
fixture = TestBed.createComponent(ShowMonoliticImagesComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue