diff --git a/generators/angular/templates/src/main/webapp/app/core/auth/account.service.spec.ts.ejs b/generators/angular/templates/src/main/webapp/app/core/auth/account.service.spec.ts.ejs index 28555fa1681b..c87605f48af7 100644 --- a/generators/angular/templates/src/main/webapp/app/core/auth/account.service.spec.ts.ejs +++ b/generators/angular/templates/src/main/webapp/app/core/auth/account.service.spec.ts.ejs @@ -214,7 +214,7 @@ describe('save', () => { it('should not navigate to the previous stored url when authentication fails', () => { // WHEN service.identity().subscribe(); - httpMock.expectOne({ method: 'GET' }).error(new ErrorEvent('')); + httpMock.expectOne({ method: 'GET' }).error(new ProgressEvent('')); // THEN expect(mockStorageService.getUrl).not.toHaveBeenCalled();