diff options
author | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2021-01-22 03:21:26 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2021-01-22 03:21:26 +0000 |
commit | 42e495df2b8d72365e22f8be708051130bc81973 (patch) | |
tree | c6fbf1b52c22a26f9ea0ac227102754c83f40913 /test | |
parent | d8860eaee46c9bc0a079e90dfb008c54923d7330 (diff) | |
parent | 80ccdb56f623be21b3ec5b78fc55cee57bee1d2b (diff) | |
download | pleroma-42e495df2b8d72365e22f8be708051130bc81973.tar.gz pleroma-42e495df2b8d72365e22f8be708051130bc81973.zip |
Merge branch 'fix/tag-urls' into 'develop'
Make tag urls absolute
See merge request pleroma/pleroma!3272
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/web/mastodon_api/views/status_view_test.exs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/pleroma/web/mastodon_api/views/status_view_test.exs b/test/pleroma/web/mastodon_api/views/status_view_test.exs index 21a01658e..ed59cf285 100644 --- a/test/pleroma/web/mastodon_api/views/status_view_test.exs +++ b/test/pleroma/web/mastodon_api/views/status_view_test.exs @@ -263,7 +263,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do tags: [ %{ name: "#{object_data["tag"]}", - url: "/tag/#{object_data["tag"]}" + url: "http://localhost:4001/tag/#{object_data["tag"]}" } ], application: %{ @@ -585,9 +585,9 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do ] assert StatusView.build_tags(object_tags) == [ - %{name: "fediverse", url: "/tag/fediverse"}, - %{name: "mastodon", url: "/tag/mastodon"}, - %{name: "nextcloud", url: "/tag/nextcloud"} + %{name: "fediverse", url: "http://localhost:4001/tag/fediverse"}, + %{name: "mastodon", url: "http://localhost:4001/tag/mastodon"}, + %{name: "nextcloud", url: "http://localhost:4001/tag/nextcloud"} ] end end |