➜ pleroma git:(develop) mix test test/web/mastodon_api/views/notification_view_test.exs:111
RUM enabled: false
You may want to create test.secret.exs to declare custom database connection parameters.
14:59:25.664 [info] Already up
Excluding tags: [:test]
Including tags: [line: "111"]
1) test Move notification (Pleroma.Web.MastodonAPI.NotificationViewTest)
test/web/mastodon_api/views/notification_view_test.exs:111
Assertion with == failed
code: assert [expected] == NotificationView.render("index.json", %{notifications: [notification], for: follower})
left: [%{created_at: "2019-12-04T11:59:31.000Z", id: "1", pleroma: %{is_seen: false}, type: "move", account: %{acct: "nick0", avatar: "http://localhost:4001/images/avi.png", avatar_static: "http://localhost:4001/images/avi.png", bot: false, created_at: "2019-12-04T11:59:31.000Z", display_name: "Test テスト User 0", emojis: [], fields: [], following_count: 0, header: "http://localhost:4001/images/banner.png", header_static: "http://localhost:4001/images/banner.png", id: "9pcX5tBVsvqHSTP5bk", locked: false, note: "Tester Number 0", pleroma: %{background_image: nil, confirmation_pending: false, hide_favorites: true, hide_followers: false, hide_followers_count: false, hide_follows: false, hide_follows_count: false, is_admin: false, is_moderator: false, relationship: %{blocked_by: false, blocking: false, domain_blocking: false, endorsed: false, followed_by: false, following: false, id: "9pcX5tBVsvqHSTP5bk", muting: false, muting_notifications: false, requested: false, showing_reblogs: true, subscribing: false}, skip_thread_containment: false, tags: []}, source: %{fields: [], note: "Tester Number 0", pleroma: %{discoverable: false}, sensitive: false}, statuses_count: 0, url: "http://localhost:4001/users/nick0", username: "nick0", followers_count: 0}, target: %{acct: "nick1", avatar: "http://localhost:4001/images/avi.png", avatar_static: "http://localhost:4001/images/avi.png", bot: false, created_at: "2019-12-04T11:59:31.000Z", display_name: "Test テスト User 1", emojis: [], fields: [], following_count: 0, header: "http://localhost:4001/images/banner.png", header_static: "http://localhost:4001/images/banner.png", id: "9pcX5tGpZA5zixtKtc", locked: false, note: "Tester Number 1", pleroma: %{background_image: nil, confirmation_pending: false, hide_favorites: true, hide_followers: false, hide_followers_count: false, hide_follows: false, hide_follows_count: false, is_admin: false, is_moderator: false, relationship: %{blocked_by: false, blocking: false, domain_blocking: false, endorsed: false, followed_by: false, following: true, id: "9pcX5tGpZA5zixtKtc", muting: false, muting_notifications: false, requested: false, showing_reblogs: true, subscribing: false}, skip_thread_containment: false, tags: []}, source: %{fields: [], note: "Tester Number 1", pleroma: %{discoverable: false}, sensitive: false}, statuses_count: 0, url: "http://localhost:4001/users/nick1", username: "nick1", followers_count: 0}}]
right: [%{created_at: "2019-12-04T11:59:31.000Z", id: "1", pleroma: %{is_seen: false}, type: "move", account: %{acct: "nick0", avatar: "http://localhost:4001/images/avi.png", avatar_static: "http://localhost:4001/images/avi.png", bot: false, created_at: "2019-12-04T11:59:31.000Z", display_name: "Test テスト User 0", emojis: [], fields: [], following_count: 0, header: "http://localhost:4001/images/banner.png", header_static: "http://localhost:4001/images/banner.png", id: "9pcX5tBVsvqHSTP5bk", locked: false, note: "Tester Number 0", pleroma: %{background_image: nil, confirmation_pending: false, hide_favorites: true, hide_followers: false, hide_followers_count: false, hide_follows: false, hide_follows_count: false, is_admin: false, is_moderator: false, relationship: %{blocked_by: false, blocking: false, domain_blocking: false, endorsed: false, followed_by: false, following: false, id: "9pcX5tBVsvqHSTP5bk", muting: false, muting_notifications: false, requested: false, showing_reblogs: true, subscribing: false}, skip_thread_containment: false, tags: []}, source: %{fields: [], note: "Tester Number 0", pleroma: %{discoverable: false}, sensitive: false}, statuses_count: 0, url: "http://localhost:4001/users/nick0", username: "nick0", followers_count: 1}, target: %{acct: "nick1", avatar: "http://localhost:4001/images/avi.png", avatar_static: "http://localhost:4001/images/avi.png", bot: false, created_at: "2019-12-04T11:59:31.000Z", display_name: "Test テスト User 1", emojis: [], fields: [], following_count: 0, header: "http://localhost:4001/images/banner.png", header_static: "http://localhost:4001/images/banner.png", id: "9pcX5tGpZA5zixtKtc", locked: false, note: "Tester Number 1", pleroma: %{background_image: nil, confirmation_pending: false, hide_favorites: true, hide_followers: false, hide_followers_count: false, hide_follows: false, hide_follows_count: false, is_admin: false, is_moderator: false, relationship: %{blocked_by: false, blocking: false, domain_blocking: false, endorsed: false, followed_by: false, following: true, id: "9pcX5tGpZA5zixtKtc", muting: false, muting_notifications: false, requested: false, showing_reblogs: true, subscribing: false}, skip_thread_containment: false, tags: []}, source: %{fields: [], note: "Tester Number 1", pleroma: %{discoverable: false}, sensitive: false}, statuses_count: 0, url: "http://localhost:4001/users/nick1", username: "nick1", followers_count: 1}}]
stacktrace:
test/web/mastodon_api/views/notification_view_test.exs:131: (test)
Finished in 0.2 seconds
5 tests, 1 failure, 4 excluded