More fixed tests

This commit is contained in:
alexjanousekGSA
2025-05-28 14:01:55 -04:00
parent 8feced8d7f
commit 7c1f3f2c3a
2 changed files with 16 additions and 15 deletions

View File

@@ -24,6 +24,7 @@ from app.enums import (
NotificationStatus,
OrganizationType,
ServicePermissionType,
TemplateProcessType,
TemplateType,
)
from app.models import ServicePermission
@@ -460,7 +461,7 @@ class TemplateSchemaNoDetail(TemplateSchema):
class TemplateHistorySchema(BaseSchema):
reply_to = fields.Method("get_reply_to", allow_none=True)
reply_to_text = fields.Method("get_reply_to_text", allow_none=True)
process_type = field_for(models.Template, "process_type")
process_type = SafeEnumField(TemplateProcessType, by_value=True)
template_type = auto_field(by_value=True)
created_by = fields.Nested(