JPEG content_type must be image/jpeg
This commit is contained in:
parent
b738f70953
commit
40f3cdc030
24 changed files with 37 additions and 37 deletions
|
|
@ -100,7 +100,7 @@ defmodule Pleroma.Web.CommonAPITest do
|
|||
recipient = insert(:user)
|
||||
|
||||
file = %Plug.Upload{
|
||||
content_type: "image/jpg",
|
||||
content_type: "image/jpeg",
|
||||
path: Path.absname("test/fixtures/image.jpg"),
|
||||
filename: "an_image.jpg"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue