mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4034] Task list cloud - The Deleted task is changing the Status from "Deleted" in "Canceled" (#4803)
Removed DELETED status Modified unit test to check recent changes
This commit is contained in:
@@ -190,7 +190,7 @@ describe('EditTaskFilterCloudComponent', () => {
|
|||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
fixture.whenStable().then(() => {
|
fixture.whenStable().then(() => {
|
||||||
const statusOptions = fixture.debugElement.queryAll(By.css('.mat-option-text'));
|
const statusOptions = fixture.debugElement.queryAll(By.css('.mat-option-text'));
|
||||||
expect(statusOptions.length).toEqual(7);
|
expect(statusOptions.length).toEqual(6);
|
||||||
});
|
});
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
@@ -94,8 +94,7 @@ export class EditTaskFilterCloudComponent implements OnInit, OnChanges {
|
|||||||
{ label: 'CANCELLED', value: 'CANCELLED' },
|
{ label: 'CANCELLED', value: 'CANCELLED' },
|
||||||
{ label: 'ASSIGNED', value: 'ASSIGNED' },
|
{ label: 'ASSIGNED', value: 'ASSIGNED' },
|
||||||
{ label: 'SUSPENDED', value: 'SUSPENDED' },
|
{ label: 'SUSPENDED', value: 'SUSPENDED' },
|
||||||
{ label: 'COMPLETED', value: 'COMPLETED' },
|
{ label: 'COMPLETED', value: 'COMPLETED' }
|
||||||
{ label: 'DELETED', value: 'DELETED' }
|
|
||||||
];
|
];
|
||||||
|
|
||||||
directions = [
|
directions = [
|
||||||
|
Reference in New Issue
Block a user