summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/controllers/notification_controller_test.exs
diff options
context:
space:
mode:
authorRoman Chvanikov <chvanikoff@pm.me>2020-09-08 13:26:44 +0300
committerRoman Chvanikov <chvanikoff@pm.me>2020-09-08 13:26:44 +0300
commitc56e3d4f3bfb090d19bdbe93dac6cede7616cc4d (patch)
treea7bd7e51ff5a7802199f5be95879ce824f9a2078 /test/web/mastodon_api/controllers/notification_controller_test.exs
parentd5c286b80225b51dabf4eb63ad8ab818ea534851 (diff)
downloadpleroma-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.exs2
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")