forked from AkkomaGang/akkoma
Format mascot tests
This commit is contained in:
parent
e81f0fc6d4
commit
dc916ba15f
1 changed files with 2 additions and 1 deletions
|
@ -1503,10 +1503,11 @@ test "mascot retrieving", %{conn: conn} do
|
||||||
filename: "an_image.jpg"
|
filename: "an_image.jpg"
|
||||||
}
|
}
|
||||||
|
|
||||||
conn =
|
conn =
|
||||||
build_conn()
|
build_conn()
|
||||||
|> assign(:user, user)
|
|> assign(:user, user)
|
||||||
|> put("/api/v1/pleroma/mascot", %{"file" => file})
|
|> put("/api/v1/pleroma/mascot", %{"file" => file})
|
||||||
|
|
||||||
assert json_response(conn, 200)
|
assert json_response(conn, 200)
|
||||||
|
|
||||||
user = User.get_cached_by_id(user.id)
|
user = User.get_cached_by_id(user.id)
|
||||||
|
|
Loading…
Reference in a new issue