summaryrefslogtreecommitdiff
path: root/test/web/salmon
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2018-02-12 10:24:15 +0100
committerlain <lain@soykaf.club>2018-02-12 10:24:15 +0100
commitb331cb449a46bbead19fea4fba59762c1a2e3a10 (patch)
tree5ce081e6f6b6b6305ec8a280adb53a64fd08a941 /test/web/salmon
parent8cf97ee8e15a36cbbf0964d5be53c88d29798163 (diff)
parent1bc34de4dfef5336d0dc165495ac66de2ffef2c6 (diff)
downloadpleroma-b331cb449a46bbead19fea4fba59762c1a2e3a10.tar.gz
pleroma-b331cb449a46bbead19fea4fba59762c1a2e3a10.zip
Merge branch 'develop' into feature/activitypub
Diffstat (limited to 'test/web/salmon')
-rw-r--r--test/web/salmon/salmon_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/salmon/salmon_test.exs b/test/web/salmon/salmon_test.exs
index f2b729da9..a1ba45e35 100644
--- a/test/web/salmon/salmon_test.exs
+++ b/test/web/salmon/salmon_test.exs
@@ -35,7 +35,7 @@ defmodule Pleroma.Web.Salmon.SalmonTest do
end
test "it decodes a friendica public key" do
- key = Salmon.decode_key(@magickey_friendica)
+ _key = Salmon.decode_key(@magickey_friendica)
end
test "returns a public and private key from a pem" do
@@ -90,7 +90,7 @@ defmodule Pleroma.Web.Salmon.SalmonTest do
user = Repo.get_by(User, ap_id: activity.data["actor"])
{:ok, user} = Pleroma.Web.WebFinger.ensure_keys_present(user)
- poster = fn (url, data, headers, options) ->
+ poster = fn (url, _data, _headers, _options) ->
assert url == "http://example.org/salmon"
end
Salmon.publish(user, activity, poster)