mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Fix upload unit test
This commit is contained in:
@@ -24,6 +24,8 @@ export class AlfrescoSettingsServiceMock {
|
|||||||
static DEFAULT_CONTEXT_PATH: string = '/fake-path-alfresco';
|
static DEFAULT_CONTEXT_PATH: string = '/fake-path-alfresco';
|
||||||
static DEFAULT_BASE_API_PATH: string = '/fake-api/fake-public/fake-alfresco/fake-versions/1';
|
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 _host: string = AlfrescoSettingsServiceMock.DEFAULT_HOST_ADDRESS;
|
||||||
private _contextPath = AlfrescoSettingsServiceMock.DEFAULT_CONTEXT_PATH;
|
private _contextPath = AlfrescoSettingsServiceMock.DEFAULT_CONTEXT_PATH;
|
||||||
private _apiBasePath: string = AlfrescoSettingsServiceMock.DEFAULT_BASE_API_PATH;
|
private _apiBasePath: string = AlfrescoSettingsServiceMock.DEFAULT_BASE_API_PATH;
|
||||||
@@ -35,4 +37,8 @@ export class AlfrescoSettingsServiceMock {
|
|||||||
getApiBaseUrl(): string {
|
getApiBaseUrl(): string {
|
||||||
return this._host + this._contextPath + this._apiBasePath;
|
return this._host + this._contextPath + this._apiBasePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
getProviders(): string [] {
|
||||||
|
return this.providers;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user