TSK-1187 Fixed tree.component test and changed test description
This commit is contained in:
parent
ea87836a9a
commit
4451fcb9c2
|
@ -25,7 +25,7 @@ import { NgxsModule, Store } from '@ngxs/store';
|
|||
import { EngineConfigurationSelectors } from 'app/store/engine-configuration-store/engine-configuration.selectors';
|
||||
import { WorkbasketAccessItemsComponent } from './workbasket-access-items.component';
|
||||
|
||||
describe('AccessItemsComponent', () => {
|
||||
describe('WorkbasketAccessItemsComponent', () => {
|
||||
let component: WorkbasketAccessItemsComponent;
|
||||
let fixture: ComponentFixture<WorkbasketAccessItemsComponent>;
|
||||
let workbasketService;
|
||||
|
|
|
@ -24,7 +24,7 @@ import { InfiniteScrollModule } from 'ngx-infinite-scroll';
|
|||
import { WorkbasketDistributionTargetsComponent, Side } from './workbasket-distribution-targets.component';
|
||||
import { WorkbasketDualListComponent } from '../workbasket-dual-list/workbasket-dual-list.component';
|
||||
|
||||
describe('DistributionTargetsComponent', () => {
|
||||
describe('WorkbasketDistributionTargetsComponent', () => {
|
||||
let component: WorkbasketDistributionTargetsComponent;
|
||||
let fixture: ComponentFixture<WorkbasketDistributionTargetsComponent>;
|
||||
let workbasketService;
|
||||
|
|
|
@ -22,8 +22,8 @@ class TreeVendorComponent {
|
|||
}
|
||||
|
||||
describe('TaskanaTreeComponent', () => {
|
||||
let component: ClassificationTreeComponent;
|
||||
let fixture: ComponentFixture<ClassificationTreeComponent>;
|
||||
let component: TaskanaTreeComponent;
|
||||
let fixture: ComponentFixture<TaskanaTreeComponent>;
|
||||
let classificationsService;
|
||||
let moveNodeEvent;
|
||||
let dropEvent;
|
||||
|
@ -38,7 +38,7 @@ describe('TaskanaTreeComponent', () => {
|
|||
|
||||
beforeEach(done => {
|
||||
configureTests(configure).then(testBed => {
|
||||
fixture = testBed.createComponent(ClassificationTreeComponent);
|
||||
fixture = testBed.createComponent(TaskanaTreeComponent);
|
||||
classificationsService = testBed.get(ClassificationsService);
|
||||
spyOn(classificationsService, 'putClassification').and.callFake((url, classification) => classification);
|
||||
moveNodeEvent = {
|
||||
|
|
Loading…
Reference in New Issue