Fix upload unit test

This commit is contained in:
mauriziovitale84
2016-07-12 17:17:25 +01:00
parent 66affb869f
commit e0fbda683f

View File

@@ -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;
}
}