mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
@@ -54,10 +54,11 @@ describe('Attach Folder', () => {
|
||||
beforeAll(async () => {
|
||||
await this.alfrescoJsApi.login(adminEmail, adminPassword);
|
||||
user = await users.createTenantAndUser(this.alfrescoJsApi);
|
||||
|
||||
const acsUser = { ...user, id: user.email }; delete acsUser.type; delete acsUser.tenantId;
|
||||
await this.alfrescoJsApi.core.peopleApi.addPerson(acsUser);
|
||||
await integrationService.addCSIntegration({ tenantId: user.tenantId, name: 'adf dev', host: browser.params.testConfig.adf_acs });
|
||||
|
||||
await integrationService.addCSIntegration({ tenantId: user.tenantId, name: 'adf dev', host: browser.params.testConfig.adf_acs.host });
|
||||
await this.alfrescoJsApi.login(user.email, user.password);
|
||||
await applicationService.importPublishDeployApp(app.file_path);
|
||||
await loginPage.loginToAllUsingUserModel(user);
|
||||
|
@@ -31,8 +31,8 @@ export class IntegrationService {
|
||||
alfrescoTenantId: '',
|
||||
repositoryUrl: `${host}/alfresco`,
|
||||
shareUrl: `${host}/share`,
|
||||
version: '4.2',
|
||||
useShareConnector: false
|
||||
version: '6.1.1',
|
||||
authenticationType: 'basic'
|
||||
};
|
||||
return this.api.activiti.integrationAccountApi.apiClient.callApi('app/rest/integration/alfresco', 'POST',
|
||||
{}, {}, {}, {}, repository, [], [], Object);
|
||||
|
Reference in New Issue
Block a user