aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2021-01-22 10:05:28 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2021-01-22 10:05:28 +0300
commit218c51960606454577a12fb6e417d66ab46f3965 (patch)
tree831e8bef7e82021bf22ec057cb46716be70091b4 /test
parentca7f24064304945587fc232325dce4b834ff6c94 (diff)
parent42e495df2b8d72365e22f8be708051130bc81973 (diff)
downloadpleroma-218c51960606454577a12fb6e417d66ab46f3965.tar.gz
Merge remote-tracking branch 'remotes/origin/develop' into feature/object-hashtags-rework
# Conflicts: # test/pleroma/web/mastodon_api/views/status_view_test.exs
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/mastodon_api/views/status_view_test.exs8
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 eb84cc173..48f5f0dd0 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: "#{hd(object_data["tag"])}",
- url: "/tag/#{hd(object_data["tag"])}"
+ url: "http://localhost:4001/tag/#{hd(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