mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
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
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue