mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-17 10:13:56 -05:00
Update test_api_custom_fields.py
This commit is contained in:
parent
e531ba82ce
commit
bb96b5f98e
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user