Format mascot tests

This commit is contained in:
Sadposter 2019-05-20 12:58:17 +01:00
parent e81f0fc6d4
commit dc916ba15f
No known key found for this signature in database
GPG Key ID: 6F3BAD60DE190290

View File

@ -1503,10 +1503,11 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
filename: "an_image.jpg"
}
conn =
conn =
build_conn()
|> assign(:user, user)
|> put("/api/v1/pleroma/mascot", %{"file" => file})
assert json_response(conn, 200)
user = User.get_cached_by_id(user.id)