mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix test
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
Reference in New Issue
Block a user