TSK-1187 Fixed tree.component test and changed test description

This commit is contained in:
Sofie Hofmann 2020-04-15 16:49:20 +02:00 committed by Mustapha Zorgati
parent ea87836a9a
commit 4451fcb9c2
3 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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 = {