Preloaders: Use strings as keys.

This commit is contained in:
lain 2020-06-29 11:41:00 +02:00
commit 8630a6c7f5
8 changed files with 13 additions and 13 deletions

View file

@ -8,7 +8,7 @@ defmodule Pleroma.Web.Preload.Providers.StatusNetTest do
setup do: {:ok, StatusNet.generate_terms(nil)}
test "it renders the info", %{"/api/statusnet/config.json": info} do
test "it renders the info", %{"/api/statusnet/config.json" => info} do
assert {:ok, res} = Jason.decode(info)
assert res["site"]
end