]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
938f0f419f7d623b4136de2ebf9b7f72dc8540cd
[ceph.git] /
1 import { HttpClientModule } from '@angular/common/http';
2 import { HttpClientTestingModule } from '@angular/common/http/testing';
3 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
4
5 import { TabsModule } from 'ngx-bootstrap/tabs';
6
7 import { CdTableSelection } from '../../../shared/models/cd-table-selection';
8 import { SharedModule } from '../../../shared/shared.module';
9 import { RgwUserDetailsComponent } from './rgw-user-details.component';
10
11 describe('RgwUserDetailsComponent', () => {
12   let component: RgwUserDetailsComponent;
13   let fixture: ComponentFixture<RgwUserDetailsComponent>;
14
15   beforeEach(async(() => {
16     TestBed.configureTestingModule({
17       declarations: [ RgwUserDetailsComponent ],
18       imports: [
19         HttpClientTestingModule,
20         HttpClientModule,
21         SharedModule,
22         TabsModule.forRoot()
23       ]
24     })
25     .compileComponents();
26   }));
27
28   beforeEach(() => {
29     fixture = TestBed.createComponent(RgwUserDetailsComponent);
30     component = fixture.componentInstance;
31     component.selection = new CdTableSelection();
32     fixture.detectChanges();
33   });
34
35   it('should create', () => {
36     expect(component).toBeTruthy();
37   });
38 });