Preloaders: Use strings as keys.
This commit is contained in:
parent
a19f8778af
commit
8630a6c7f5
8 changed files with 13 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue