Example #1
0
        public void TestBulkUpdateCombineApplicationFieldValid(BulkHelpers.RecordTypes record, BulkHelpers.Filters filter, ResourceId resource, string firstFieldName, string secondFieldName)
        {
            var bulkCombineFields = new BulkCombineFields(record, filter, resource, new List <string> {
                firstFieldName, secondFieldName
            }, RecordsCreator, UserIds);

            bulkCombineFields.PerformCombineTwoFieldsTests();
        }
Example #2
0
        public void TestBulkUpdateCombineUserFieldValid(RecordTypes record, Filters filter, ResourceId resource, InputType firstFieldType, InputType secondFieldType)
        {
            var firstFieldName    = FieldsCreator.Data[$"{resource}-{firstFieldType.ToString()}"].Field.Name;
            var secondFieldName   = FieldsCreator.Data[$"{resource}-{secondFieldType.ToString()}"].Field.Name;
            var bulkCombineFields = new BulkCombineFields(record, filter, resource, new List <string> {
                firstFieldName, secondFieldName
            }, RecordsCreator, UserIds, new List <InputType> {
                firstFieldType, secondFieldType
            });

            bulkCombineFields.PerformCombineTwoFieldsTests();
        }