Browse Source

Merge branch 'fix_test' into 'develop'

[#1457] fix test

See merge request pleroma/pleroma!2035
feature/compile_get
lain 4 years ago
parent
commit
228bf4d214
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      test/web/mastodon_api/views/notification_view_test.exs

+ 3
- 0
test/web/mastodon_api/views/notification_view_test.exs View File

@@ -117,6 +117,9 @@ defmodule Pleroma.Web.MastodonAPI.NotificationViewTest do
Pleroma.Web.ActivityPub.ActivityPub.move(old_user, new_user)
Pleroma.Tests.ObanHelpers.perform_all()

old_user = refresh_record(old_user)
new_user = refresh_record(new_user)

[notification] = Notification.for_user(follower)

expected = %{


Loading…
Cancel
Save