Browse Source

Fix broken test

Jeremy Stretch 7 năm trước cách đây
mục cha
commit
3b4bcc881f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      netbox/dcim/tests/test_api.py

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

@@ -855,7 +855,7 @@ class DeviceTypeTest(APITestCase):
 
         self.assertEqual(
             sorted(response.data['results'][0]),
-            ['id', 'manufacturer', 'model', 'slug', 'url']
+            ['display_name', 'id', 'manufacturer', 'model', 'slug', 'url']
         )
 
     def test_create_devicetype(self):