From 652781a3dfe7011258f0e55176066b5bfbf776d3 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sat, 25 Jan 2025 22:48:14 -0800 Subject: [PATCH] Update test_api_custom_fields.py --- src/documents/tests/test_api_custom_fields.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/documents/tests/test_api_custom_fields.py b/src/documents/tests/test_api_custom_fields.py index 8a9e32174..f94d73edc 100644 --- a/src/documents/tests/test_api_custom_fields.py +++ b/src/documents/tests/test_api_custom_fields.py @@ -280,11 +280,12 @@ class TestCustomFieldsAPI(DirectoriesMixin, APITestCase): def test_custom_field_select_old_version(self): """ GIVEN: - - Select custom field exists with old version of select options + - Nothing WHEN: - 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 THEN: + - The select options are created with unique ids - The select options are returned in the old format """ resp = self.client.post(