Announcements: Fix all tests.

This commit is contained in:
lain 2020-05-21 13:16:21 +02:00
commit 23e248694d
21 changed files with 64 additions and 136 deletions

View file

@ -73,7 +73,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectViewTest do
object = Object.normalize(note)
user = insert(:user)
{:ok, announce_activity, _} = CommonAPI.repeat(note.id, user)
{:ok, announce_activity} = CommonAPI.repeat(note.id, user)
result = ObjectView.render("object.json", %{object: announce_activity})