Added some more normalization calls all in mastodon api controller
This commit is contained in:
parent
462028688b
commit
b09ae02c04
4 changed files with 9 additions and 8 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue