浏览代码

Merge branch 'fix_test' into 'develop'

[#1457] fix test

See merge request pleroma/pleroma!2035
feature/compile_get
lain 4 年前
父节点
当前提交
228bf4d214
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      test/web/mastodon_api/views/notification_view_test.exs

+ 3
- 0
test/web/mastodon_api/views/notification_view_test.exs 查看文件

@@ -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 = %{


正在加载...
取消
保存