Skip to content

Commit

Permalink
content type to lower case in factory
Browse files Browse the repository at this point in the history
  • Loading branch information
Lvyshnevska committed Jun 23, 2024
1 parent 7c31423 commit 833b0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BackEnd/images/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Meta:
image_type = factory.fuzzy.FuzzyChoice(
ProfileImage.IMAGE_TYPES, getter=lambda c: c[0]
)
content_type = "JPEG"
content_type = "jpeg"
image_path = factory.django.ImageField(filename="test.jpeg")
is_approved = False
is_deleted = False

0 comments on commit 833b0b3

Please sign in to comment.