[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:
mcchrys
2019-06-04 13:38:39 +05:30
committed by Maurizio Vitale
parent 2b05f72a2f
commit 656eeaf017
2 changed files with 2 additions and 3 deletions

View File

@@ -190,7 +190,7 @@ describe('EditTaskFilterCloudComponent', () => {
fixture.detectChanges();
fixture.whenStable().then(() => {
const statusOptions = fixture.debugElement.queryAll(By.css('.mat-option-text'));
expect(statusOptions.length).toEqual(7);
expect(statusOptions.length).toEqual(6);
});
}));

View File

@@ -94,8 +94,7 @@ export class EditTaskFilterCloudComponent implements OnInit, OnChanges {
{ label: 'CANCELLED', value: 'CANCELLED' },
{ label: 'ASSIGNED', value: 'ASSIGNED' },
{ label: 'SUSPENDED', value: 'SUSPENDED' },
{ label: 'COMPLETED', value: 'COMPLETED' },
{ label: 'DELETED', value: 'DELETED' }
{ label: 'COMPLETED', value: 'COMPLETED' }
];
directions = [