9856 fix tests

This commit is contained in:
Arthur 2024-03-12 10:39:00 -07:00
parent c2a3275c79
commit d6fd0b88af
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ class ConfigTemplateType(TagsMixin, ObjectType):
filters=CustomFieldFilter
)
class CustomFieldType(ObjectType):
object_type: Annotated["ContentTypeType", strawberry.lazy('netbox.graphql.types')] | None
related_object_type: Annotated["ContentTypeType", strawberry.lazy('netbox.graphql.types')] | None
choice_set: Annotated["CustomFieldChoiceSetType", strawberry.lazy('extras.graphql.types')] | None

View File

@ -189,6 +189,6 @@ class ContactGroupType(OrganizationalObjectType):
filters=ContactAssignmentFilter
)
class ContactAssignmentType(CustomFieldsMixin, TagsMixin, BaseObjectType):
content_type: Annotated["ContentTypeType", strawberry.lazy('netbox.graphql.types')] | None
object_type: Annotated["ContentTypeType", strawberry.lazy('netbox.graphql.types')] | None
contact: Annotated["ContactType", strawberry.lazy('tenancy.graphql.types')] | None
role: Annotated["ContactRoleType", strawberry.lazy('tenancy.graphql.types')] | None