mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-23 09:51:59 +01:00
Remove restriction enforcement from RestrictedQuerySet
This commit is contained in:
@@ -51,7 +51,7 @@ class ProviderTest(APIViewTestCases.APIViewTestCase):
|
||||
"""
|
||||
Test retrieval of Graphs assigned to Providers.
|
||||
"""
|
||||
provider = self.model.objects.unrestricted().first()
|
||||
provider = self.model.objects.first()
|
||||
ct = ContentType.objects.get(app_label='circuits', model='provider')
|
||||
graphs = (
|
||||
Graph(type=ct, name='Graph 1', source='http://example.com/graphs.py?provider={{ obj.slug }}&foo=1'),
|
||||
|
||||
Reference in New Issue
Block a user