This commit is contained in:
Eugenio Romano
2019-12-18 14:16:36 +00:00
parent 02ea026b6b
commit 9ea5bad807

View File

@@ -27,8 +27,8 @@ describe('NoTaskDetailsTemplateDirective', () => {
let authService: AuthenticationService;
beforeEach(() => {
authService = new AuthenticationService(null, null, null, null);
spyOn(authService, 'getBpmLoggedUser').and.returnValue(of({ email: 'fake-email'}));
authService = new AuthenticationService(null, null, null, null, null);
spyOn(authService, 'getBpmLoggedUser').and.returnValue(of({ email: 'fake-email' }));
detailsComponent = new TaskDetailsComponent(null, authService, null, null, null, null);
component = new NoTaskDetailsTemplateDirective(detailsComponent);
});