Merge branch 'feature/gen-magic' into 'develop'

Use libmagic via majic

Closes #1736

See merge request pleroma/pleroma!2534
This commit is contained in:
feld 2020-10-14 17:31:45 +00:00
commit 2013705690
44 changed files with 118 additions and 229 deletions

View file

@ -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"
}