Skip to content

Commit

Permalink
Fix test data for form test
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSheps committed Sep 16, 2024
1 parent 78c8ede commit 3d18f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox_routing/tests/test_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def setUpTestData(cls):
def test_staticroute(self):
form = StaticRouteForm(data={
'name': 'Route 1',
'device': Device.objects.first().pk,
'devices': [Device.objects.first().pk],
'vrf': None,
'prefix': '0.0.0.0/0',
'next_hop': '10.10.10.1',
Expand Down

0 comments on commit 3d18f44

Please sign in to comment.