69940: Fix tests

This commit is contained in:
Kristof De Langhe
2020-03-25 17:22:00 +01:00
committed by Art Lowel
parent 6b53c448c8
commit d4609b87ea
2 changed files with 7 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ import { Bitstream } from '../../core/shared/bitstream.model';
import { ProcessDataService } from '../../core/data/processes/process-data.service';
import { DSONameService } from '../../core/breadcrumbs/dso-name.service';
fdescribe('ProcessDetailComponent', () => {
describe('ProcessDetailComponent', () => {
let component: ProcessDetailComponent;
let fixture: ComponentFixture<ProcessDetailComponent>;

View File

@@ -27,22 +27,22 @@ describe('ProcessOverviewComponent', () => {
Object.assign(new Process(), {
processId: 1,
scriptName: 'script-name',
startTime: '2020-03-19T13:20:23.535+0000',
endTime: '2020-03-19T13:27:36.720+0000',
startTime: '2020-03-19',
endTime: '2020-03-19',
processStatus: ProcessStatus.COMPLETED
}),
Object.assign(new Process(), {
processId: 2,
scriptName: 'script-name',
startTime: '2020-03-20T11:21:23.487+0000',
endTime: '2020-03-20T11:22:36.165+0000',
startTime: '2020-03-20',
endTime: '2020-03-20',
processStatus: ProcessStatus.FAILED
}),
Object.assign(new Process(), {
processId: 3,
scriptName: 'another-script-name',
startTime: '2020-03-21T20:05:00.784+0000',
endTime: '2020-03-21T20:15:56.126+0000',
startTime: '2020-03-21',
endTime: '2020-03-21',
processStatus: ProcessStatus.RUNNING
})
];