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
|
|
@ -85,8 +85,8 @@ defmodule Pleroma.Tests.Helpers do
|
|||
assigns = Map.new(assigns)
|
||||
|
||||
view.render(template, assigns)
|
||||
|> Poison.encode!()
|
||||
|> Poison.decode!()
|
||||
|> Jason.encode!()
|
||||
|> Jason.decode!()
|
||||
end
|
||||
|
||||
def stringify_keys(nil), do: nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue