diff --git a/src/app/+item-page/bitstreams/upload/upload-bitstream.component.spec.ts b/src/app/+item-page/bitstreams/upload/upload-bitstream.component.spec.ts index 9e472a9a29..59868a69c7 100644 --- a/src/app/+item-page/bitstreams/upload/upload-bitstream.component.spec.ts +++ b/src/app/+item-page/bitstreams/upload/upload-bitstream.component.spec.ts @@ -47,38 +47,6 @@ describe('UploadBistreamComponent', () => { }); const notificationsServiceStub = new NotificationsServiceStub(); - describe('when queryParam bundleName is missing', () => { - beforeEach(async(() => { - createUploadBitstreamTestingModule({}); - })); - - beforeEach(() => { - loadFixtureAndComp(); - }); - - it('uploadProperties.bundleName should default to "ORIGINAL"', () => { - expect(comp.uploadProperties.bundleName).toEqual('ORIGINAL'); - }); - }); - - describe('when queryParam bundleName has a value', () => { - const customBundleName = 'FAKE-BUNDLE'; - - beforeEach(async(() => { - createUploadBitstreamTestingModule({ - bundleName: customBundleName - }); - })); - - beforeEach(() => { - loadFixtureAndComp(); - }); - - it('uploadProperties.bundleName should be set to the custom bundle name', () => { - expect(comp.uploadProperties.bundleName).toEqual(customBundleName); - }); - }); - describe('when a file is uploaded', () => { beforeEach(async(() => { createUploadBitstreamTestingModule({}); diff --git a/src/app/core/data/object-updates/object-updates.reducer.spec.ts b/src/app/core/data/object-updates/object-updates.reducer.spec.ts index f5698b9b78..d9aacc8d34 100644 --- a/src/app/core/data/object-updates/object-updates.reducer.spec.ts +++ b/src/app/core/data/object-updates/object-updates.reducer.spec.ts @@ -79,7 +79,12 @@ describe('objectUpdatesReducer', () => { changeType: FieldChangeType.ADD } }, - lastModified: modDate + lastModified: modDate, + customOrder: { + initialOrder: [], + newOrder: [], + changed: false + } } }; @@ -213,7 +218,12 @@ describe('objectUpdatesReducer', () => { }, }, fieldUpdates: {}, - lastModified: modDate + lastModified: modDate, + customOrder: { + initialOrder: [], + newOrder: [], + changed: false + } } }; const newState = objectUpdatesReducer(testState, action);