Refactor all tests that acessed the embeded object
This commit is contained in:
parent
c3a2052806
commit
ff8d76c670
7 changed files with 14 additions and 21 deletions
|
|
@ -61,7 +61,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
|
|||
|> Map.put("content", nil)
|
||||
|
||||
Object.change(note_object, %{data: data})
|
||||
|> Repo.update()
|
||||
|> Object.update_and_set_cache()
|
||||
|
||||
User.get_cached_by_ap_id(note.data["actor"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue