mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
case sensitive for Linux compatibility
This commit is contained in:
@@ -267,6 +267,12 @@ describe('SubmissionSectionUploadComponent test suite', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should properly read the section status', () => {
|
it('should properly read the section status', () => {
|
||||||
|
uploadsConfigService.getConfigByHref.and.returnValue(observableOf(
|
||||||
|
new ConfigData(new PageInfo(), mockUploadConfigResponseNotRequired as any)
|
||||||
|
));
|
||||||
|
|
||||||
|
comp.onSectionInit();
|
||||||
|
|
||||||
bitstreamService.getUploadedFileList.and.returnValue(hot('-a-b', {
|
bitstreamService.getUploadedFileList.and.returnValue(hot('-a-b', {
|
||||||
a: [],
|
a: [],
|
||||||
b: mockUploadFiles
|
b: mockUploadFiles
|
||||||
@@ -281,10 +287,21 @@ describe('SubmissionSectionUploadComponent test suite', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should properly read the section status when required is false', () => {
|
it('should properly read the section status when required is false', () => {
|
||||||
|
submissionServiceStub.getSubmissionObject.and.returnValue(observableOf(submissionState));
|
||||||
|
|
||||||
|
collectionDataService.findById.and.returnValue(createSuccessfulRemoteDataObject$(mockCollection));
|
||||||
|
|
||||||
|
resourcePolicyService.findByHref.and.returnValue(createSuccessfulRemoteDataObject$(mockDefaultAccessCondition));
|
||||||
|
|
||||||
uploadsConfigService.getConfigByHref.and.returnValue(observableOf(
|
uploadsConfigService.getConfigByHref.and.returnValue(observableOf(
|
||||||
new ConfigData(new PageInfo(), mockUploadConfigResponseNotRequired as any)
|
new ConfigData(new PageInfo(), mockUploadConfigResponseNotRequired as any)
|
||||||
));
|
));
|
||||||
|
|
||||||
|
groupService.findById.and.returnValues(
|
||||||
|
createSuccessfulRemoteDataObject$(Object.assign(new Group(), mockGroup)),
|
||||||
|
createSuccessfulRemoteDataObject$(Object.assign(new Group(), mockGroup))
|
||||||
|
);
|
||||||
|
|
||||||
bitstreamService.getUploadedFileList.and.returnValue(observableOf(mockUploadFiles));
|
bitstreamService.getUploadedFileList.and.returnValue(observableOf(mockUploadFiles));
|
||||||
|
|
||||||
comp.onSectionInit();
|
comp.onSectionInit();
|
||||||
|
Reference in New Issue
Block a user