2019-06-03 17:04:30 +02:00
|
|
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
|
|
|
import { FormBuilder } from '@angular/forms';
|
|
|
|
|
|
|
|
import { E2EImportsModule } from 'e2e-imports.module';
|
2019-07-26 11:46:59 +02:00
|
|
|
|
2019-06-03 17:04:30 +02:00
|
|
|
import { AgendaContentObjectFormComponent } from './agenda-content-object-form.component';
|
|
|
|
|
|
|
|
describe('AgendaContentObjectFormComponent', () => {
|
|
|
|
let component: AgendaContentObjectFormComponent;
|
|
|
|
let fixture: ComponentFixture<AgendaContentObjectFormComponent>;
|
|
|
|
|
|
|
|
beforeEach(async(() => {
|
|
|
|
TestBed.configureTestingModule({
|
|
|
|
imports: [E2EImportsModule]
|
|
|
|
}).compileComponents();
|
|
|
|
}));
|
|
|
|
|
|
|
|
beforeEach(() => {
|
|
|
|
fixture = TestBed.createComponent(AgendaContentObjectFormComponent);
|
|
|
|
component = fixture.componentInstance;
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should create', () => {
|
|
|
|
const formBuilder: FormBuilder = TestBed.get(FormBuilder);
|
|
|
|
component.form = formBuilder.group({
|
|
|
|
agenda_create: [''],
|
|
|
|
agenda_parent_id: [],
|
|
|
|
agenda_type: ['']
|
|
|
|
});
|
|
|
|
fixture.detectChanges();
|
|
|
|
expect(component).toBeTruthy();
|
|
|
|
});
|
|
|
|
});
|