diff --git a/netbox/circuits/tests/test_views.py b/netbox/circuits/tests/test_views.py index 931392a1d..87e6d99b7 100644 --- a/netbox/circuits/tests/test_views.py +++ b/netbox/circuits/tests/test_views.py @@ -501,8 +501,8 @@ class CircuitGroupAssignmentTestCase( tags = create_tags('Alpha', 'Bravo', 'Charlie') cls.form_data = { - 'group': circuit_groups[3], - 'circuit': circuits[3], + 'group': circuit_groups[3].pk, + 'circuit': circuits[3].pk, 'priority': CircuitPriorityChoices.PRIORITY_INACTIVE, 'tags': [t.pk for t in tags], }