Use Jason instead of Poison in tests
This commit is contained in:
parent
1ab61953db
commit
3283d0805f
21 changed files with 82 additions and 82 deletions
|
|
@ -164,7 +164,7 @@ defmodule Pleroma.Web.FederatorTest do
|
|||
|
||||
params =
|
||||
File.read!("test/fixtures/mastodon-post-activity.json")
|
||||
|> Poison.decode!()
|
||||
|> Jason.decode!()
|
||||
|
||||
assert {:ok, job} = Federator.incoming_ap_doc(params)
|
||||
assert {:error, _} = ObanHelpers.perform(job)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue