#572 unit tests and code fixes

This commit is contained in:
Denys Vuika
2016-08-18 14:37:13 +01:00
parent 795521f572
commit 663cb885bd
3 changed files with 378 additions and 32 deletions

View File

@@ -35,13 +35,15 @@ export class AlfrescoAuthenticationService extends AlfrescoAuthenticationBase {
/**
* Constructor
* @param alfrescoSetting
* @param settingsService
* @param http
*/
constructor(alfrescoSetting: AlfrescoSettingsService,
constructor(settingsService: AlfrescoSettingsService,
http: Http) {
super(alfrescoSetting, http);
this.createProviderInstance(alfrescoSetting.getProviders());
super(settingsService, http);
if (settingsService) {
this.createProviderInstance(settingsService.getProviders());
}
}
/**