]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-s3-key-modal/rgw-user-s3-key-modal.component.spec.ts
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / rgw / rgw-user-s3-key-modal / rgw-user-s3-key-modal.component.spec.ts
CommitLineData
11fdf7f2
TL
1import { ComponentFixture, TestBed } from '@angular/core/testing';
2import { ReactiveFormsModule } from '@angular/forms';
3import { RouterTestingModule } from '@angular/router/testing';
4
f67539c2 5import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
11fdf7f2 6
f67539c2
TL
7import { SharedModule } from '~/app/shared/shared.module';
8import { configureTestBed } from '~/testing/unit-test-helper';
11fdf7f2
TL
9import { RgwUserS3KeyModalComponent } from './rgw-user-s3-key-modal.component';
10
11describe('RgwUserS3KeyModalComponent', () => {
12 let component: RgwUserS3KeyModalComponent;
13 let fixture: ComponentFixture<RgwUserS3KeyModalComponent>;
14
15 configureTestBed({
16 declarations: [RgwUserS3KeyModalComponent],
17 imports: [ReactiveFormsModule, SharedModule, RouterTestingModule],
f67539c2 18 providers: [NgbActiveModal]
11fdf7f2
TL
19 });
20
21 beforeEach(() => {
22 fixture = TestBed.createComponent(RgwUserS3KeyModalComponent);
23 component = fixture.componentInstance;
24 fixture.detectChanges();
25 });
26
27 it('should create', () => {
28 expect(component).toBeTruthy();
29 });
30});