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

@ -26,7 +26,7 @@ defmodule Pleroma.Web.Preload.Providers.UserTest do
end
test "account is rendered", %{terms: terms, user: user} do
account = terms[:"/api/v1/accounts/#{user.id}"]
account = terms["/api/v1/accounts/#{user.id}"]
assert %{acct: user, username: user} = account
end
end