From 833b0b3df0f06bdeeb6a36a8d53a3ef99626ade5 Mon Sep 17 00:00:00 2001 From: Lvyshnevska Date: Sun, 23 Jun 2024 16:01:35 +0200 Subject: [PATCH] content type to lower case in factory --- BackEnd/images/factories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BackEnd/images/factories.py b/BackEnd/images/factories.py index f5aa3616e..37e4a776c 100644 --- a/BackEnd/images/factories.py +++ b/BackEnd/images/factories.py @@ -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