Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Model/Shared/CustomField.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ abstract class CustomField extends Model
'id' => 'int',
'name' => 'string',
'description' => 'string',
'purified_description' => 'string',
'type' => 'int',
'depends_on_field_id' => 'int',
'depends_on_option_id' => 'int',
Expand Down
1 change: 1 addition & 0 deletions src/Model/Ticket/TicketCustomFieldTranslation.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class TicketCustomFieldTranslation extends Translation
'ticket_custom_field_id' => 'int',
'name' => 'string',
'description' => 'string',
'purified_description' => 'string',
'regex_error_message' => 'string',
];
}
1 change: 1 addition & 0 deletions src/Model/User/OrganisationCustomFieldTranslation.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class OrganisationCustomFieldTranslation extends Translation
'user_organisation_custom_field_id' => 'int',
'name' => 'string',
'description' => 'string',
'purified_description' => 'string',
'regex_error_message' => 'string',
];
}
1 change: 1 addition & 0 deletions src/Model/User/UserCustomFieldTranslation.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class UserCustomFieldTranslation extends Translation
'user_custom_field_id' => 'int',
'name' => 'string',
'description' => 'string',
'purified_description' => 'string',
'regex_error_message' => 'string',
];
}
3 changes: 2 additions & 1 deletion test/DataFixtures/Ticket/TicketCustomFieldData.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ class TicketCustomFieldData extends BaseModelData
public const DATA = [
'id' => 1,
'name' => 'Related Product/Service',
'description' => 'Please select an option if this ticket is related to one of your products/services.',
'description' => '<div class="sp-editor-content"><p>Please select an option if this ticket is related to one of your products/services.</p></div>',
'purified_description' => '<div class="sp-editor-content"><p>Please select an option if this ticket is related to one of your products/services.</p></div>',
'type' => 5,
'depends_on_field_id' => null,
'depends_on_option_id' => null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class TicketCustomFieldTranslationData extends BaseModelData
'ticket_custom_field_id' => 1,
'name' => 'test',
'description' => '',
'purified_description' => '',
'regex_error_message' => null,
'locale' => 'ar'
];
Expand Down
3 changes: 2 additions & 1 deletion test/DataFixtures/User/OrganisationCustomFieldData.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ class OrganisationCustomFieldData extends BaseModelData
public const DATA = [
'id' => 1,
'name' => 'test',
'description' => 'custom',
'description' => '<div class="sp-editor-content"><p>Custom</p></div>',
'purified_description' => '<div class="sp-editor-content"><p>Custom</p></div>',
'type' => 0,
'depends_on_field_id' => null,
'depends_on_option_id' => null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class OrganisationCustomFieldTranslationData extends BaseModelData
'user_organisation_custom_field_id' => 1,
'name' => 'test',
'description' => '',
'purified_description' => '',
'regex_error_message' => null,
'locale' => 'ar',
];
Expand Down
3 changes: 2 additions & 1 deletion test/DataFixtures/User/UserCustomFieldData.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ class UserCustomFieldData extends BaseModelData
public const DATA = [
'id' => 1,
'name' => 'test',
'description' => 'custom',
'description' => '<div class="sp-editor-content"><p>Custom</p></div>',
'purified_description' => '<div class="sp-editor-content"><p>Custom</p></div>',
'type' => 0,
'depends_on_field_id' => null,
'depends_on_option_id' => null,
Expand Down
1 change: 1 addition & 0 deletions test/DataFixtures/User/UserCustomFieldTranslationData.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class UserCustomFieldTranslationData extends BaseModelData
'user_custom_field_id' => 1,
'name' => 'test',
'description' => '',
'purified_description' => '',
'regex_error_message' => null,
'locale' => 'ar',
];
Expand Down