mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[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:
@@ -230,12 +230,6 @@ describe('TaskListComponent', () => {
|
||||
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 id for the selected task', () => {
|
||||
component.rows = [
|
||||
{ id: '999', name: 'Fake-name' },
|
||||
|
Reference in New Issue
Block a user