mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Fixed issue with DataService's delete method that used wrong uuid to make the request
This commit is contained in:
@@ -125,7 +125,7 @@ describe('DeleteComColPageComponent', () => {
|
||||
it('should call delete on the data service', () => {
|
||||
comp.onConfirm(data1);
|
||||
fixture.detectChanges();
|
||||
expect(dsoDataService.delete).toHaveBeenCalledWith(data1);
|
||||
expect(dsoDataService.delete).toHaveBeenCalledWith(data1.id);
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user