summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-06-09 09:20:55 +0200
committerlain <lain@soykaf.club>2020-06-09 09:20:55 +0200
commite1bc37d11852684a5007a9550208944d899800ca (patch)
tree249898dd6520cb4784fdd1d9b95f691e28f0d632 /test
parent3b5282bef29656f081750a0d9b06a42b912520de (diff)
downloadpleroma-e1bc37d11852684a5007a9550208944d899800ca.tar.gz
pleroma-e1bc37d11852684a5007a9550208944d899800ca.zip
MigrationHelper: Move notification backfilling to own module.
Diffstat (limited to 'test')
-rw-r--r--test/migration_helper/notification_backfill_test.exs (renamed from test/migration_helper_test.exs)6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/migration_helper_test.exs b/test/migration_helper/notification_backfill_test.exs
index 1c8173987..2a62a2b00 100644
--- a/test/migration_helper_test.exs
+++ b/test/migration_helper/notification_backfill_test.exs
@@ -2,11 +2,11 @@
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
-defmodule Pleroma.MigrationHelperTest do
+defmodule Pleroma.MigrationHelper.NotificationBackfillTest do
use Pleroma.DataCase
alias Pleroma.Activity
- alias Pleroma.MigrationHelper
+ alias Pleroma.MigrationHelper.NotificationBackfill
alias Pleroma.Notification
alias Pleroma.Repo
alias Pleroma.Web.CommonAPI
@@ -35,7 +35,7 @@ defmodule Pleroma.MigrationHelperTest do
assert {5, nil} = Repo.update_all(Notification, set: [type: nil])
- MigrationHelper.fill_in_notification_types()
+ NotificationBackfill.fill_in_notification_types()
assert %{type: "mention"} =
Repo.get_by(Notification, user_id: other_user.id, activity_id: post.id)