aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadposter <hannah+pleroma@coffee-and-dreams.uk>2019-05-20 12:58:17 +0100
committerSadposter <hannah+pleroma@coffee-and-dreams.uk>2019-05-20 12:58:17 +0100
commitdc916ba15f0fd77afa015084849f082065ed6f74 (patch)
tree4e408004a1b5d49d470642fbf7c59802a6b2f576
parente81f0fc6d45249dd70656c58af926c21c70c482f (diff)
downloadpleroma-dc916ba15f0fd77afa015084849f082065ed6f74.tar.gz
Format mascot tests
-rw-r--r--test/web/mastodon_api/mastodon_api_controller_test.exs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/web/mastodon_api/mastodon_api_controller_test.exs b/test/web/mastodon_api/mastodon_api_controller_test.exs
index 87e1c105d..1d9f5a816 100644
--- a/test/web/mastodon_api/mastodon_api_controller_test.exs
+++ b/test/web/mastodon_api/mastodon_api_controller_test.exs
@@ -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)