refactor(external_data): rename corporation memberships route
This commit is contained in:
@@ -91,7 +91,7 @@ class ExternalDataApiTest(APITestCase):
|
||||
self.assertEqual(arbitration_response.status_code, status.HTTP_200_OK)
|
||||
self.assertEqual(arbitration_response.data["count"], 1)
|
||||
|
||||
def test_information_security_registry_entries_filter(self):
|
||||
def test_corporation_memberships_filter(self):
|
||||
InformationSecurityRegistryEntryFactory(
|
||||
organization=self.organization,
|
||||
presence_status="present",
|
||||
@@ -102,7 +102,7 @@ class ExternalDataApiTest(APITestCase):
|
||||
)
|
||||
|
||||
response = self.client.get(
|
||||
f"/api/v1/security-registries/?organization={self.organization.id}"
|
||||
f"/api/v1/corporation-memberships/?organization={self.organization.id}"
|
||||
"&presence_status=present"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user