diff options
| author | rinpatch <rinpatch@sdf.org> | 2019-12-08 13:07:05 +0000 |
|---|---|---|
| committer | rinpatch <rinpatch@sdf.org> | 2019-12-08 13:07:05 +0000 |
| commit | 8404f8c8fbc4a60473df0977bc05e2587207d811 (patch) | |
| tree | bff0ee7f5d0280722cfc49748103204d08394d6b /test/web/activity_pub | |
| parent | 29a3f70cba7bed31e6777832c4d2dc5c326b70c1 (diff) | |
| parent | d4953474ac5546d771879c32d3a7ec40675a00a1 (diff) | |
| download | pleroma-8404f8c8fbc4a60473df0977bc05e2587207d811.tar.gz pleroma-8404f8c8fbc4a60473df0977bc05e2587207d811.zip | |
Merge branch 'improve-move-notificaions-api' into 'develop'
Add `with_move` query param to the notifications API
See merge request pleroma/pleroma!2032
Diffstat (limited to 'test/web/activity_pub')
| -rw-r--r-- | test/web/activity_pub/activity_pub_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index c59ce99ac..97844a407 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -1637,10 +1637,10 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do activity = %Activity{activity | object: nil} assert [%Notification{activity: ^activity}] = - Notification.for_user_since(follower, ~N[2019-04-13 11:22:33]) + Notification.for_user(follower, %{with_move: true}) assert [%Notification{activity: ^activity}] = - Notification.for_user_since(follower_move_opted_out, ~N[2019-04-13 11:22:33]) + Notification.for_user(follower_move_opted_out, %{with_move: true}) end test "old user must be in the new user's `also_known_as` list" do |
