diff options
author | lain <lain@soykaf.club> | 2018-02-12 10:13:54 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-02-12 10:14:11 +0100 |
commit | 26ccb768d39515faa3b1db7f1371ecf2517eb6bf (patch) | |
tree | cad8d083afe1b126f6907cc6f9d1478c3e469656 /test/web/salmon/salmon_test.exs | |
parent | 33a5d0a2385984168f7de063093c6a71c8b07b73 (diff) | |
download | pleroma-26ccb768d39515faa3b1db7f1371ecf2517eb6bf.tar.gz pleroma-26ccb768d39515faa3b1db7f1371ecf2517eb6bf.zip |
Make test output easier to read.
Diffstat (limited to 'test/web/salmon/salmon_test.exs')
-rw-r--r-- | test/web/salmon/salmon_test.exs | 4 |
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) |