Added some more normalization calls all in mastodon api controller

This commit is contained in:
rinpatch 2019-04-17 13:04:58 +03:00
commit b09ae02c04
4 changed files with 9 additions and 8 deletions

View file

@ -1879,7 +1879,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
capture_log(fn ->
conn =
conn
|> get("/api/v1/search", %{"q" => activity.data["object"]["id"]})
|> get("/api/v1/search", %{"q" => Object.normalize(activity).id})
assert results = json_response(conn, 200)