This commit is contained in:
Egor Kislitsyn 2019-01-11 12:47:44 +07:00
parent b594a54d0c
commit 728587fdaa

View File

@ -145,7 +145,7 @@ defmodule Pleroma.Web.CommonAPI.Test do
assert %User{info: %{pinned_activities: []}} = user assert %User{info: %{pinned_activities: []}} = user
end end
test "should unpin status when deleting a status", %{user: user, activity: activity} do test "should unpin when deleting a status", %{user: user, activity: activity} do
{:ok, activity} = CommonAPI.pin(activity.id, user) {:ok, activity} = CommonAPI.pin(activity.id, user)
user = refresh_record(user) user = refresh_record(user)