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:
Thomas Citharel 2021-08-03 18:47:46 +02:00
parent d0ff547417
commit ac9587b9d1
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -273,8 +273,7 @@ defmodule Mobilizon.Factory do
%{ %{
content_type: "image/jpeg", content_type: "image/jpeg",
name: "image.jpg", name: "image.jpg",
url: url, url: url
size: 13_227
} = data } = data
%Mobilizon.Medias.File{ %Mobilizon.Medias.File{