[ADF-3120] fixed sorting for tasklist and process list (#3435)

* [ADF-3120] fixed sorting for tasklist and process list

* [ADF-3120] removed commented code

* [ADF-3120] fixing another randomly failing test
This commit is contained in:
Vito
2018-06-07 14:25:57 +01:00
committed by Eugenio Romano
parent 581867ad66
commit e988691d0a
7 changed files with 19 additions and 31 deletions

View File

@@ -253,12 +253,6 @@ describe('ProcessInstanceListComponent', () => {
expect(component.getCurrentId()).toBeNull();
});
it('should return the sorting order if sort is defined', () => {
component.sort = 'fakeKey-fakeOrder';
fixture.detectChanges();
expect(component.dataSort).toEqual(['fakeKey', 'fakeOrder']);
});
it('should return selected true for the selected process', () => {
component.data = new ObjectDataTableAdapter(
[