Add expires_in param for account mutes

This commit is contained in:
Roman Chvanikov 2020-09-08 13:26:44 +03:00
commit c56e3d4f3b
9 changed files with 69 additions and 30 deletions

View file

@ -502,7 +502,7 @@ defmodule Pleroma.Web.MastodonAPI.NotificationControllerTest do
assert length(json_response_and_validate_schema(ret_conn, 200)) == 1
{:ok, _user_relationships} = User.mute(user, user2, false)
{:ok, _user_relationships} = User.mute(user, user2, %{notifications: false})
conn = get(conn, "/api/v1/notifications")