summaryrefslogtreecommitdiff
path: root/test/web/salmon
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-05-03 14:26:49 +0200
committerRoger Braun <roger@rogerbraun.net>2017-05-03 14:26:49 +0200
commit8141024259ee4bebd58d6ecd963f181aad420846 (patch)
tree916d1f7f6d25869733c1a3453bb946c6f55b250c /test/web/salmon
parent16afea399d330c28de05c77649fe0540598ee8ec (diff)
downloadpleroma-8141024259ee4bebd58d6ecd963f181aad420846.tar.gz
pleroma-8141024259ee4bebd58d6ecd963f181aad420846.zip
Attachment parsing, better magic key fetching.
Diffstat (limited to 'test/web/salmon')
-rw-r--r--test/web/salmon/salmon_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/salmon/salmon_test.exs b/test/web/salmon/salmon_test.exs
index 77dacc1c0..ed26ccf83 100644
--- a/test/web/salmon/salmon_test.exs
+++ b/test/web/salmon/salmon_test.exs
@@ -55,7 +55,7 @@ defmodule Pleroma.Web.Salmon.SalmonTest do
test "it gets a magic key" do
# TODO: Make test local
salmon = File.read!("test/fixtures/salmon2.xml")
- key = Salmon.fetch_magic_key(salmon)
+ {:ok, key} = Salmon.fetch_magic_key(salmon)
assert key == "RSA.uzg6r1peZU0vXGADWxGJ0PE34WvmhjUmydbX5YYdOiXfODVLwCMi1umGoqUDm-mRu4vNEdFBVJU1CpFA7dKzWgIsqsa501i2XqElmEveXRLvNRWFB6nG03Q5OUY2as8eE54BJm0p20GkMfIJGwP6TSFb-ICp3QjzbatuSPJ6xCE=.AQAB"
end