projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
7722e5a
)
Merge branch 'fix_test' into 'develop'
author
lain
<lain@soykaf.club>
Wed, 4 Dec 2019 13:25:12 +0000
(13:25 +0000)
committer
lain
<lain@soykaf.club>
Wed, 4 Dec 2019 13:25:12 +0000
(13:25 +0000)
[#1457] fix test
See merge request pleroma/pleroma!2035
test/web/mastodon_api/views/notification_view_test.exs
patch
|
blob
|
history
diff --git
a/test/web/mastodon_api/views/notification_view_test.exs
b/test/web/mastodon_api/views/notification_view_test.exs
index 80b6d414cf178a5494b0fa209a6964ac0e502e3a..26e1afc857d5fc8f2ae5f68f65ba3f9cdc4f5920 100644
(file)
--- a/
test/web/mastodon_api/views/notification_view_test.exs
+++ b/
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 = %{