mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 14:03:06 +00:00
65240: Removed old test cases
This commit is contained in:
@@ -231,11 +231,6 @@ describe('ComColFormComponent', () => {
|
|||||||
it('should display a success notification', () => {
|
it('should display a success notification', () => {
|
||||||
expect(notificationsService.success).toHaveBeenCalled();
|
expect(notificationsService.success).toHaveBeenCalled();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should remove the object\'s cache', () => {
|
|
||||||
expect(requestServiceStub.removeByHrefSubstring).toHaveBeenCalled();
|
|
||||||
expect(objectCacheStub.remove).toHaveBeenCalled();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('when dsoService.deleteLogo returns an error response', () => {
|
describe('when dsoService.deleteLogo returns an error response', () => {
|
||||||
@@ -249,11 +244,6 @@ describe('ComColFormComponent', () => {
|
|||||||
it('should display an error notification', () => {
|
it('should display an error notification', () => {
|
||||||
expect(notificationsService.error).toHaveBeenCalled();
|
expect(notificationsService.error).toHaveBeenCalled();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should remove the object\'s cache', () => {
|
|
||||||
expect(requestServiceStub.removeByHrefSubstring).toHaveBeenCalled();
|
|
||||||
expect(objectCacheStub.remove).toHaveBeenCalled();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user