]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.spec.ts
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / rgw / rgw-user-details / rgw-user-details.component.spec.ts
1 import { HttpClientTestingModule } from '@angular/common/http/testing';
2 import { ComponentFixture, TestBed } from '@angular/core/testing';
3
4 import { BsModalService } from 'ngx-bootstrap/modal';
5 import { TabsModule } from 'ngx-bootstrap/tabs';
6
7 import { configureTestBed, i18nProviders } from '../../../../testing/unit-test-helper';
8 import { CdTableSelection } from '../../../shared/models/cd-table-selection';
9 import { SharedModule } from '../../../shared/shared.module';
10 import { RgwUserDetailsComponent } from './rgw-user-details.component';
11
12 describe('RgwUserDetailsComponent', () => {
13 let component: RgwUserDetailsComponent;
14 let fixture: ComponentFixture<RgwUserDetailsComponent>;
15
16 configureTestBed({
17 declarations: [RgwUserDetailsComponent],
18 imports: [HttpClientTestingModule, SharedModule, TabsModule.forRoot()],
19 providers: [BsModalService, i18nProviders]
20 });
21
22 beforeEach(() => {
23 fixture = TestBed.createComponent(RgwUserDetailsComponent);
24 component = fixture.componentInstance;
25 component.selection = new CdTableSelection();
26 fixture.detectChanges();
27 });
28
29 it('should create', () => {
30 expect(component).toBeTruthy();
31 });
32 });