JPEG content_type must be image/jpeg

This commit is contained in:
Mark Felder 2020-10-13 10:37:24 -05:00
commit 40f3cdc030
24 changed files with 37 additions and 37 deletions

View file

@ -11,7 +11,7 @@ defmodule Pleroma.Web.Plugs.UploadedMediaPlugTest do
File.cp!("test/fixtures/image.jpg", "test/fixtures/image_tmp.jpg")
file = %Plug.Upload{
content_type: "image/jpg",
content_type: "image/jpeg",
path: Path.absname("test/fixtures/image_tmp.jpg"),
filename: "nice_tf.jpg"
}