diff options
author | lain <lain@soykaf.club> | 2019-10-05 10:42:29 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-10-05 10:42:29 +0200 |
commit | d9aaea44ff02d6a07d3be0f0675830eb51ac85ef (patch) | |
tree | ce715c85f98875dd0ddf133f95a071fd40b91335 /test/web/pleroma_api | |
parent | 8e83c8423fa846e82103b20798f0cbde676354ff (diff) | |
parent | 9c47d8571c6c46503d9bb836aea933eda6e9e0a5 (diff) | |
download | pleroma-d9aaea44ff02d6a07d3be0f0675830eb51ac85ef.tar.gz |
Merge remote-tracking branch 'origin/develop' into reactions
Diffstat (limited to 'test/web/pleroma_api')
-rw-r--r-- | test/web/pleroma_api/controllers/pleroma_api_controller_test.exs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/web/pleroma_api/controllers/pleroma_api_controller_test.exs b/test/web/pleroma_api/controllers/pleroma_api_controller_test.exs index 3a5dbdeea..44ea85b45 100644 --- a/test/web/pleroma_api/controllers/pleroma_api_controller_test.exs +++ b/test/web/pleroma_api/controllers/pleroma_api_controller_test.exs @@ -9,6 +9,7 @@ defmodule Pleroma.Web.PleromaAPI.PleromaAPIControllerTest do alias Pleroma.Notification alias Pleroma.Object alias Pleroma.Repo + alias Pleroma.User alias Pleroma.Web.CommonAPI import Pleroma.Factory @@ -133,6 +134,7 @@ defmodule Pleroma.Web.PleromaAPI.PleromaAPIControllerTest do participation = Repo.preload(participation, :recipients) + user = User.get_cached_by_id(user.id) assert [user] == participation.recipients assert other_user not in participation.recipients |