1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Correct FrontPortTemplate update data

This commit is contained in:
Jeremy Stretch
2020-11-11 13:02:58 -05:00
parent 5ed5ffea0e
commit 963df7e398

View File

@@ -670,21 +670,21 @@ class FrontPortTemplateTest(APIViewTestCases.APIViewTestCase):
'name': 'Front Port Template 4',
'type': PortTypeChoices.TYPE_8P8C,
'rear_port': rear_port_templates[3].pk,
'position': 1,
'rear_port_position': 1,
},
{
'device_type': devicetype.pk,
'name': 'Front Port Template 5',
'type': PortTypeChoices.TYPE_8P8C,
'rear_port': rear_port_templates[4].pk,
'position': 1,
'rear_port_position': 1,
},
{
'device_type': devicetype.pk,
'name': 'Front Port Template 6',
'type': PortTypeChoices.TYPE_8P8C,
'rear_port': rear_port_templates[5].pk,
'position': 1,
'rear_port_position': 1,
},
]