Parcourir la source

#7336: Correct API test

Jeremy Stretch il y a 1 an
Parent
commit
b45b8f3a4d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      netbox/ipam/tests/test_api.py

+ 1 - 1
netbox/ipam/tests/test_api.py

@@ -1080,7 +1080,7 @@ class VLANTranslationPolicyTest(APIViewTestCases.APIViewTestCase):
 
 
 class VLANTranslationRuleTest(APIViewTestCases.APIViewTestCase):
 class VLANTranslationRuleTest(APIViewTestCases.APIViewTestCase):
     model = VLANTranslationRule
     model = VLANTranslationRule
-    brief_fields = ['id', 'local_vid', 'policy', 'remote_vid',]
+    brief_fields = ['description', 'display', 'id', 'local_vid', 'policy', 'remote_vid', 'url']
 
 
     @classmethod
     @classmethod
     def setUpTestData(cls):
     def setUpTestData(cls):