summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoreal <eal@waifu.club>2018-02-02 00:00:48 +0200
committereal <eal@waifu.club>2018-02-02 00:14:05 +0200
commit29be70c0082ea09f03896c7e52e2b8a9cdbea641 (patch)
tree88d5701dd9f4645ef2167d5733579313eaf21e25 /test
parentab83e0de6d389428cec11fe94280d675a38f00d0 (diff)
downloadpleroma-29be70c0082ea09f03896c7e52e2b8a9cdbea641.tar.gz
pleroma-29be70c0082ea09f03896c7e52e2b8a9cdbea641.zip
Add remote following of local profiles.
Diffstat (limited to 'test')
-rw-r--r--test/web/ostatus/ostatus_test.exs6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/web/ostatus/ostatus_test.exs b/test/web/ostatus/ostatus_test.exs
index de01612b3..b27f8cb55 100644
--- a/test/web/ostatus/ostatus_test.exs
+++ b/test/web/ostatus/ostatus_test.exs
@@ -302,7 +302,8 @@ defmodule Pleroma.Web.OStatusTest do
"host" => "social.heldscal.la",
"fqn" => user,
"bio" => "cofe",
- "avatar" => %{"type" => "Image", "url" => [%{"href" => "https://social.heldscal.la/avatar/29191-original-20170421154949.jpeg", "mediaType" => "image/jpeg", "type" => "Link"}]}
+ "avatar" => %{"type" => "Image", "url" => [%{"href" => "https://social.heldscal.la/avatar/29191-original-20170421154949.jpeg", "mediaType" => "image/jpeg", "type" => "Link"}]},
+ "subscribe_address" => "https://social.heldscal.la/main/ostatussub?profile={uri}"
}
assert data == expected
end
@@ -325,7 +326,8 @@ defmodule Pleroma.Web.OStatusTest do
"host" => "social.heldscal.la",
"fqn" => user,
"bio" => "cofe",
- "avatar" => %{"type" => "Image", "url" => [%{"href" => "https://social.heldscal.la/avatar/29191-original-20170421154949.jpeg", "mediaType" => "image/jpeg", "type" => "Link"}]}
+ "avatar" => %{"type" => "Image", "url" => [%{"href" => "https://social.heldscal.la/avatar/29191-original-20170421154949.jpeg", "mediaType" => "image/jpeg", "type" => "Link"}]},
+ "subscribe_address" => "https://social.heldscal.la/main/ostatussub?profile={uri}"
}
assert data == expected
end