Update test_api_custom_fields.py

This commit is contained in:
shamoon 2025-01-25 22:48:14 -08:00
parent 251566691a
commit 652781a3df
No known key found for this signature in database

View File

@ -280,11 +280,12 @@ class TestCustomFieldsAPI(DirectoriesMixin, APITestCase):
def test_custom_field_select_old_version(self): def test_custom_field_select_old_version(self):
""" """
GIVEN: GIVEN:
- Select custom field exists with old version of select options - Nothing
WHEN: WHEN:
- API post request is made for custom fields with api version header < 7 - API post request is made for custom fields with api version header < 7
- API get request is made for custom fields with api version header < 7 - API get request is made for custom fields with api version header < 7
THEN: THEN:
- The select options are created with unique ids
- The select options are returned in the old format - The select options are returned in the old format
""" """
resp = self.client.post( resp = self.client.post(