Fixes after merge with master

This commit is contained in:
Giuseppe Digilio
2019-02-19 17:46:34 +01:00
parent 880d9ed069
commit f6fe2c3c3e
34 changed files with 164 additions and 238 deletions

View File

@@ -108,7 +108,6 @@ describe('DeleteComColPageComponent', () => {
it('should show an error notification on failure', () => {
(dsoDataService.delete as any).and.returnValue(observableOf(false));
spyOn(notificationsService, 'error');
spyOn(router, 'navigate');
comp.onConfirm(data2);
fixture.detectChanges();
@@ -117,7 +116,6 @@ describe('DeleteComColPageComponent', () => {
});
it('should show a success notification on success and navigate', () => {
spyOn(notificationsService, 'success');
spyOn(router, 'navigate');
comp.onConfirm(data1);
fixture.detectChanges();