summaryrefslogtreecommitdiff
path: root/test/web/salmon
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2018-12-02 22:05:28 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2018-12-04 14:04:06 +0300
commit6cfdc11e32faf84263e4c5d7b15f193ba1b832ae (patch)
tree4a3889063dcb1edabaa93809db118df85296c888 /test/web/salmon
parentc508d41c349c3034211f41281cfe60c70a020575 (diff)
downloadpleroma-6cfdc11e32faf84263e4c5d7b15f193ba1b832ae.tar.gz
pleroma-6cfdc11e32faf84263e4c5d7b15f193ba1b832ae.zip
update test
Diffstat (limited to 'test/web/salmon')
-rw-r--r--test/web/salmon/salmon_test.exs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/web/salmon/salmon_test.exs b/test/web/salmon/salmon_test.exs
index 3285c11f0..23ccc038e 100644
--- a/test/web/salmon/salmon_test.exs
+++ b/test/web/salmon/salmon_test.exs
@@ -15,6 +15,7 @@ defmodule Pleroma.Web.Salmon.SalmonTest do
mock(fn env -> apply(HttpRequestMock, :request, [env]) end)
:ok
end
+
test "decodes a salmon" do
{:ok, salmon} = File.read("test/fixtures/salmon.xml")
{:ok, doc} = Salmon.decode_and_validate(@magickey, salmon)