mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
integrate search new javascript api
This commit is contained in:
@@ -37,11 +37,4 @@ describe('AlfrescoSettingsService', () => {
|
||||
expect(service.host).toBe(address);
|
||||
});
|
||||
|
||||
it('should format api url', () => {
|
||||
let address = 'http://192.168.0.1';
|
||||
let expectedUrl =
|
||||
`${address}${AlfrescoSettingsService.DEFAULT_CONTEXT_PATH}${AlfrescoSettingsService.DEFAULT_BASE_API_PATH}`;
|
||||
service.host = address;
|
||||
expect(service.getApiBaseUrl()).toBe(expectedUrl);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user