9627 fix tests

This commit is contained in:
Arthur Hanson 2024-06-21 15:20:28 -07:00
parent 02221f1eed
commit cb556429f5
2 changed files with 2 additions and 2 deletions

View File

@ -883,7 +883,7 @@ class VLANGroupTest(APIViewTestCases.APIViewTestCase):
vlangroup = VLANGroup.objects.create( vlangroup = VLANGroup.objects.create(
name='VLAN Group X', name='VLAN Group X',
slug='vlan-group-x', slug='vlan-group-x',
vlan_range_ids=string_to_range_array(f"{MIN_VID}-{MAX_VID}") vlan_id_ranges=string_to_range_array(f"{MIN_VID}-{MAX_VID}")
) )
# Create a set of VLANs within the group # Create a set of VLANs within the group

View File

@ -765,7 +765,7 @@ class VLANGroupTestCase(ViewTestCases.OrganizationalObjectViewTestCase):
cls.form_data = { cls.form_data = {
'name': 'VLAN Group X', 'name': 'VLAN Group X',
'slug': 'vlan-group-x', 'slug': 'vlan-group-x',
'vlan_range_ids': string_to_range_array('100-4094'), 'vlan_id_ranges': string_to_range_array('100-4094'),
'description': 'A new VLAN group', 'description': 'A new VLAN group',
'tags': [t.pk for t in tags], 'tags': [t.pk for t in tags],
} }