Merge branch 'cleanup-activity' into 'develop'
Cleanup `Pleroma.Activity` and add more tests See merge request pleroma/pleroma!1623
This commit is contained in:
commit
53a3ad6043
6 changed files with 159 additions and 268 deletions
|
|
@ -1081,7 +1081,7 @@ defmodule Pleroma.UserTest do
|
|||
|
||||
user_activities =
|
||||
user.ap_id
|
||||
|> Activity.query_by_actor()
|
||||
|> Activity.Queries.by_actor()
|
||||
|> Repo.all()
|
||||
|> Enum.map(fn act -> act.data["type"] end)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue