update test
This commit is contained in:
parent
c508d41c34
commit
6cfdc11e32
7 changed files with 384 additions and 19 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue