diff options
author | lain <lain@soykaf.club> | 2020-06-29 11:41:00 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-06-29 11:41:00 +0200 |
commit | 8630a6c7f52a68ab32025b1c80a6398599908c68 (patch) | |
tree | 31f7669897f32048b107350f161f8cb88928418e /test/web/preload/user_test.exs | |
parent | a19f8778afddb7f504b08cedde752e37da52dc96 (diff) | |
download | pleroma-8630a6c7f52a68ab32025b1c80a6398599908c68.tar.gz pleroma-8630a6c7f52a68ab32025b1c80a6398599908c68.zip |
Preloaders: Use strings as keys.
Diffstat (limited to 'test/web/preload/user_test.exs')
-rw-r--r-- | test/web/preload/user_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/preload/user_test.exs b/test/web/preload/user_test.exs index 68d69d977..83f065e27 100644 --- a/test/web/preload/user_test.exs +++ b/test/web/preload/user_test.exs @@ -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 |