diff --git a/ng2-components/ng2-alfresco-upload/src/assets/AlfrescoSettingsService.service.mock.ts b/ng2-components/ng2-alfresco-upload/src/assets/AlfrescoSettingsService.service.mock.ts index fb4a14ca7e..ebbc1e7c45 100644 --- a/ng2-components/ng2-alfresco-upload/src/assets/AlfrescoSettingsService.service.mock.ts +++ b/ng2-components/ng2-alfresco-upload/src/assets/AlfrescoSettingsService.service.mock.ts @@ -24,6 +24,8 @@ export class AlfrescoSettingsServiceMock { static DEFAULT_CONTEXT_PATH: string = '/fake-path-alfresco'; static DEFAULT_BASE_API_PATH: string = '/fake-api/fake-public/fake-alfresco/fake-versions/1'; + private providers: string[] = ['ECM', 'BPM']; + private _host: string = AlfrescoSettingsServiceMock.DEFAULT_HOST_ADDRESS; private _contextPath = AlfrescoSettingsServiceMock.DEFAULT_CONTEXT_PATH; private _apiBasePath: string = AlfrescoSettingsServiceMock.DEFAULT_BASE_API_PATH; @@ -35,4 +37,8 @@ export class AlfrescoSettingsServiceMock { getApiBaseUrl(): string { return this._host + this._contextPath + this._apiBasePath; } + + getProviders(): string [] { + return this.providers; + } }