Merge branch 'develop' into gun
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Mon, 30 Mar 2020 09:15:23 +0000 (12:15 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Mon, 30 Mar 2020 09:15:23 +0000 (12:15 +0300)
1  2 
CHANGELOG.md
config/description.exs
docs/API/admin_api.md
mix.exs
test/notification_test.exs
test/support/http_request_mock.ex
test/web/admin_api/admin_api_controller_test.exs
test/web/mastodon_api/views/notification_view_test.exs
test/web/mastodon_api/views/status_view_test.exs

diff --cc CHANGELOG.md
Simple merge
Simple merge
Simple merge
diff --cc mix.exs
Simple merge
Simple merge
Simple merge
index ac3e126179fae9fc1b3a1883e16755df672de02a,7965af00ac97821755c4a3b14ee0d53aaaa44580..81eefd7350d839078ba09793eb127061a3f041b2
@@@ -104,11 -109,9 +109,10 @@@ defmodule Pleroma.Web.MastodonAPI.Notif
      User.perform(:delete, follower)
      notification = Notification |> Repo.one() |> Repo.preload(:activity)
  
-     assert [] ==
-              NotificationView.render("index.json", %{notifications: [notification], for: followed})
+     test_notifications_rendering([notification], followed, [])
    end
  
 +  @tag capture_log: true
    test "Move notification" do
      old_user = insert(:user)
      new_user = insert(:user, also_known_as: [old_user.ap_id])