9627 fix tests

This commit is contained in:
Arthur Hanson 2024-06-21 15:14:02 -07:00
parent 0ec51039f8
commit 2800cd0373
2 changed files with 4 additions and 2 deletions

View File

@ -633,7 +633,9 @@ class VLANGroupForm(NetBoxModelForm):
}
)
slug = SlugField()
vlan_id_ranges = NumericRangeArrayField()
vlan_id_ranges = NumericRangeArrayField(
required=False
)
fieldsets = (
FieldSet('name', 'slug', 'description', 'tags', name=_('VLAN Group')),

View File

@ -251,7 +251,7 @@ class VLANType(NetBoxObjectType):
class VLANGroupType(OrganizationalObjectType):
vlans: List[VLANType]
vlan_id_ranges: List[int]
vlan_id_ranges: List[str]
@strawberry_django.field
def scope(self) -> Annotated[Union[