diff options
author | rinpatch <rinpatch@sdf.org> | 2019-04-17 13:04:58 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-04-17 13:04:58 +0300 |
commit | b09ae02c04d66e58c2bcc6ce10277c88d5fed576 (patch) | |
tree | 726d59e547696820a62b58a2cd2a99d23a424a1d /test | |
parent | 462028688b7050bb2335914b0987632082fdf3c8 (diff) | |
download | pleroma-b09ae02c04d66e58c2bcc6ce10277c88d5fed576.tar.gz pleroma-b09ae02c04d66e58c2bcc6ce10277c88d5fed576.zip |
Added some more normalization calls all in mastodon api controller
Diffstat (limited to 'test')
-rw-r--r-- | test/web/mastodon_api/mastodon_api_controller_test.exs | 2 |
1 files changed, 1 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 f21cf677d..70ab92386 100644 --- a/test/web/mastodon_api/mastodon_api_controller_test.exs +++ b/test/web/mastodon_api/mastodon_api_controller_test.exs @@ -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) |