From 4780efb6e8bb98593d07599f7288f952b179dcc5 Mon Sep 17 00:00:00 2001 From: Jacob Date: Tue, 2 Apr 2024 18:20:15 -0400 Subject: [PATCH] Fix test case for contrib --- nautobot_ssot/tests/test_contrib_adapter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nautobot_ssot/tests/test_contrib_adapter.py b/nautobot_ssot/tests/test_contrib_adapter.py index 01b96e67d..cf4c7b05a 100644 --- a/nautobot_ssot/tests/test_contrib_adapter.py +++ b/nautobot_ssot/tests/test_contrib_adapter.py @@ -331,6 +331,7 @@ class Adapter(NautobotAdapter): top_level = ["vlan_group"] location_type = dcim_models.LocationType.objects.create(name="Building") + location_type.content_types.add(ContentType.objects.get_for_model(ipam_models.VLAN)) location = dcim_models.Location.objects.create( name="Example Building", location_type=location_type, status=extras_models.Status.objects.get(name="Active") )