]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-multisite-zone-deletion-form/rgw-multisite-zone-deletion-form.component.spec.ts
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / rgw / models / rgw-multisite-zone-deletion-form / rgw-multisite-zone-deletion-form.component.spec.ts
1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { ComponentFixture, TestBed } from '@angular/core/testing';
3 import { RouterTestingModule } from '@angular/router/testing';
4 import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
5 import { ToastrModule } from 'ngx-toastr';
6 import { SharedModule } from '~/app/shared/shared.module';
7 import { configureTestBed } from '~/testing/unit-test-helper';
8 import { RgwZone } from '../rgw-multisite';
9
10 import { RgwMultisiteZoneDeletionFormComponent } from './rgw-multisite-zone-deletion-form.component';
11
12 describe('RgwMultisiteZoneDeletionFormComponent', () => {
13 let component: RgwMultisiteZoneDeletionFormComponent;
14 let fixture: ComponentFixture<RgwMultisiteZoneDeletionFormComponent>;
15
16 configureTestBed({
17 declarations: [RgwMultisiteZoneDeletionFormComponent],
18 imports: [SharedModule, HttpClientTestingModule, ToastrModule.forRoot(), RouterTestingModule],
19 providers: [NgbActiveModal]
20 });
21
22 beforeEach(() => {
23 fixture = TestBed.createComponent(RgwMultisiteZoneDeletionFormComponent);
24 component = fixture.componentInstance;
25 component.zone = new RgwZone();
26 fixture.detectChanges();
27 });
28
29 it('should create', () => {
30 expect(component).toBeTruthy();
31 });
32 });