Fix tests

This commit is contained in:
Jeremy Stretch 2025-07-17 15:14:06 -04:00
parent 85cef9931f
commit 539b42bb2b
2 changed files with 2 additions and 2 deletions

View File

@ -451,7 +451,7 @@ class ImageAttachmentFilterSet(ChangeLoggedModelFilterSet):
class Meta:
model = ImageAttachment
fields = ('id', 'object_type_id', 'object_id', 'name', 'image_width', 'image_height')
fields = ('id', 'object_type_id', 'object_id', 'name', 'description', 'image_width', 'image_height')
def search(self, queryset, name, value):
if not value.strip():

View File

@ -579,7 +579,7 @@ class ImageAttachmentTest(
APIViewTestCases.GraphQLTestCase
):
model = ImageAttachment
brief_fields = ['display', 'id', 'image', 'name', 'url']
brief_fields = ['description', 'display', 'id', 'image', 'name', 'url']
@classmethod
def setUpTestData(cls):