Don't assert file size in upload factory
Since it can be tested in different environments (obsolete systems, docker, different ImageMagick versions…), file optimization might get different results depending on system Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
d0ff547417
commit
ac9587b9d1
@ -273,8 +273,7 @@ defmodule Mobilizon.Factory do
|
||||
%{
|
||||
content_type: "image/jpeg",
|
||||
name: "image.jpg",
|
||||
url: url,
|
||||
size: 13_227
|
||||
url: url
|
||||
} = data
|
||||
|
||||
%Mobilizon.Medias.File{
|
||||
|
Loading…
Reference in New Issue
Block a user