mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3962] sso download directive automated (#4452)
* sso download directive automated * temp changes * temp changes * moving of services under lib testing and ADF-3962 automated * removed the browser sleep * cspell and linting fixes. * codacy improvements * export public-api update * remove circular dep * remove circular dep * fixes * fix user info test * fix datatable * random commit * move other string * fix lint * fix lint * fix prolem type * fix failing test * fix tag test * fix problems after rebase * fix lint * remove space * remove visibility method duplicated
This commit is contained in:
committed by
Eugenio Romano
parent
89f612bbb0
commit
4376d357ac
@@ -15,16 +15,15 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Util } from '../../util/util';
|
||||
import { StringUtil } from '@alfresco/adf-testing';
|
||||
|
||||
export class AcsUserModel {
|
||||
|
||||
firstName = Util.generateRandomString();
|
||||
lastName = Util.generateRandomString();
|
||||
password = Util.generateRandomString();
|
||||
email = Util.generateRandomString();
|
||||
id = Util.generateRandomString();
|
||||
jobTitle = 'N/A';
|
||||
firstName = StringUtil.generateRandomString();
|
||||
lastName = StringUtil.generateRandomString();
|
||||
password = StringUtil.generateRandomString();
|
||||
email = StringUtil.generateRandomString();
|
||||
id = StringUtil.generateRandomString();
|
||||
|
||||
constructor(details?: any) {
|
||||
Object.assign(this, details);
|
||||
|
@@ -15,11 +15,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Util } from '../../util/util';
|
||||
import { StringUtil } from '@alfresco/adf-testing';
|
||||
|
||||
export class CreatedByModel {
|
||||
displayName = Util.generateRandomString();
|
||||
id = Util.generateRandomString();
|
||||
displayName = StringUtil.generateRandomString();
|
||||
id = StringUtil.generateRandomString();
|
||||
|
||||
constructor(details?: any) {
|
||||
Object.assign(this, details);
|
||||
|
@@ -19,12 +19,12 @@ import resources = require('../../util/resources');
|
||||
import ContentModel = require('./contentModel');
|
||||
import ContentPropertiesModel = require('./contentProperties');
|
||||
import { CreatedByModel } from './createdByModel';
|
||||
import { Util } from '../../util/util';
|
||||
import { StringUtil } from '@alfresco/adf-testing';
|
||||
|
||||
export class FileModel {
|
||||
|
||||
id = Util.generateRandomString();
|
||||
name = Util.generateRandomString();
|
||||
id = StringUtil.generateRandomString();
|
||||
name = StringUtil.generateRandomString();
|
||||
shortName = this.name;
|
||||
location = resources.Files.ADF_DOCUMENTS.PDF.file_location;
|
||||
tooltip = this.name;
|
||||
|
@@ -15,12 +15,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Util } from '../../util/util';
|
||||
import { StringUtil } from '@alfresco/adf-testing';
|
||||
|
||||
export class FolderModel {
|
||||
|
||||
id = Util.generateRandomString();
|
||||
name = Util.generateRandomString();
|
||||
id = StringUtil.generateRandomString();
|
||||
name = StringUtil.generateRandomString();
|
||||
shortName = this.name;
|
||||
tooltip = this.name;
|
||||
location = '';
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Util } from '../../util/util';
|
||||
import { StringUtil } from '@alfresco/adf-testing';
|
||||
|
||||
/**
|
||||
* Create Json Object for standalone task
|
||||
@@ -25,7 +25,7 @@ import { Util } from '../../util/util';
|
||||
*/
|
||||
export class StandaloneTask {
|
||||
|
||||
name = Util.generateRandomString();
|
||||
name = StringUtil.generateRandomString();
|
||||
|
||||
constructor(details?: any) {
|
||||
Object.assign(this, details);
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Util } from '../../util/util';
|
||||
import { StringUtil } from '@alfresco/adf-testing';
|
||||
|
||||
/**
|
||||
* Create tenant JSON Object
|
||||
@@ -29,7 +29,7 @@ export class Tenant {
|
||||
configuration = 'DefaultConfig';
|
||||
domain = 'DefaultDomain';
|
||||
maxUsers = 10;
|
||||
name = Util.generateRandomString();
|
||||
name = StringUtil.generateRandomString();
|
||||
|
||||
constructor(details?: any) {
|
||||
Object.assign(this, details);
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Util } from '../../util/util';
|
||||
import { StringUtil } from '@alfresco/adf-testing';
|
||||
|
||||
/**
|
||||
* Create tenant JSON Object
|
||||
@@ -25,10 +25,10 @@ import { Util } from '../../util/util';
|
||||
*/
|
||||
export class User {
|
||||
|
||||
email = Util.generateRandomEmail();
|
||||
firstName = Util.generateRandomString();
|
||||
lastName = Util.generateRandomString();
|
||||
password = Util.generatePasswordString();
|
||||
email = StringUtil.generateRandomEmail('@activiti.test.com');
|
||||
firstName = StringUtil.generateRandomString();
|
||||
lastName = StringUtil.generateRandomString();
|
||||
password = StringUtil.generatePasswordString();
|
||||
type = 'enterprise';
|
||||
tenantId = '1';
|
||||
company = null;
|
||||
|
Reference in New Issue
Block a user