diff options
author | Roman Chvanikov <chvanikoff@pm.me> | 2020-09-08 13:26:44 +0300 |
---|---|---|
committer | Roman Chvanikov <chvanikoff@pm.me> | 2020-09-08 13:26:44 +0300 |
commit | c56e3d4f3bfb090d19bdbe93dac6cede7616cc4d (patch) | |
tree | a7bd7e51ff5a7802199f5be95879ce824f9a2078 /test/web/mastodon_api/controllers/notification_controller_test.exs | |
parent | d5c286b80225b51dabf4eb63ad8ab818ea534851 (diff) | |
download | pleroma-c56e3d4f3bfb090d19bdbe93dac6cede7616cc4d.tar.gz pleroma-c56e3d4f3bfb090d19bdbe93dac6cede7616cc4d.zip |
Add expires_in param for account mutes
Diffstat (limited to 'test/web/mastodon_api/controllers/notification_controller_test.exs')
-rw-r--r-- | test/web/mastodon_api/controllers/notification_controller_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/controllers/notification_controller_test.exs b/test/web/mastodon_api/controllers/notification_controller_test.exs index 70ef0e8b5..5fd518c60 100644 --- a/test/web/mastodon_api/controllers/notification_controller_test.exs +++ b/test/web/mastodon_api/controllers/notification_controller_test.exs @@ -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") |