summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/relay_test.exs
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2019-10-18 17:56:15 -0500
committerMark Felder <feld@FreeBSD.org>2019-10-18 17:56:15 -0500
commitdcb23a85b6b05db4958b82ad14083cfa8577f477 (patch)
treecc8197a3780fcab86a10b1055501ba570b8e0c3b /test/web/activity_pub/relay_test.exs
parent152caef51d69ba4a47ac59346c782dfff8488f8b (diff)
parent5c6c3026ea7bd20cb2c10f6e2e34a54734d2509e (diff)
downloadpleroma-dcb23a85b6b05db4958b82ad14083cfa8577f477.tar.gz
pleroma-dcb23a85b6b05db4958b82ad14083cfa8577f477.zip
Merge branch 'develop' into feature/push-subject-for-dm
Diffstat (limited to 'test/web/activity_pub/relay_test.exs')
-rw-r--r--test/web/activity_pub/relay_test.exs8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/web/activity_pub/relay_test.exs b/test/web/activity_pub/relay_test.exs
index 0f7556538..4a0a03944 100644
--- a/test/web/activity_pub/relay_test.exs
+++ b/test/web/activity_pub/relay_test.exs
@@ -22,8 +22,8 @@ defmodule Pleroma.Web.ActivityPub.RelayTest do
describe "follow/1" do
test "returns errors when user not found" do
assert capture_log(fn ->
- assert Relay.follow("test-ap-id") == {:error, "Could not fetch by AP id"}
- end) =~ "Could not fetch by AP id"
+ {:error, _} = Relay.follow("test-ap-id")
+ end) =~ "Could not decode user at fetch"
end
test "returns activity" do
@@ -41,8 +41,8 @@ defmodule Pleroma.Web.ActivityPub.RelayTest do
describe "unfollow/1" do
test "returns errors when user not found" do
assert capture_log(fn ->
- assert Relay.unfollow("test-ap-id") == {:error, "Could not fetch by AP id"}
- end) =~ "Could not fetch by AP id"
+ {:error, _} = Relay.unfollow("test-ap-id")
+ end) =~ "Could not decode user at fetch"
end
test "returns activity" do