mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 15:33:04 +00:00
Merge pull request #2280 from atmire/w2p-102039_Multiple_Bitstream_deletion_endpoint
Fix multiple bitstream deletion not working
This commit is contained in:
13
src/app/shared/testing/bitstream-data-service.stub.ts
Normal file
13
src/app/shared/testing/bitstream-data-service.stub.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Bitstream } from '../../core/shared/bitstream.model';
|
||||
import { Observable, of as observableOf } from 'rxjs';
|
||||
import { RemoteData } from '../../core/data/remote-data';
|
||||
import { NoContent } from '../../core/shared/NoContent.model';
|
||||
import { RequestEntryState } from '../../core/data/request-entry-state.model';
|
||||
|
||||
export class BitstreamDataServiceStub {
|
||||
|
||||
removeMultiple(_bitstreams: Bitstream[]): Observable<RemoteData<NoContent>> {
|
||||
return observableOf(new RemoteData(0, 0, 0, RequestEntryState.Success));
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user