summaryrefslogtreecommitdiffstats
path: root/services/repository/transfer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/repository/transfer_test.go')
-rw-r--r--services/repository/transfer_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/repository/transfer_test.go b/services/repository/transfer_test.go
index 53ba3c2441..45a5b381fe 100644
--- a/services/repository/transfer_test.go
+++ b/services/repository/transfer_test.go
@@ -14,9 +14,9 @@ import (
repo_model "code.gitea.io/gitea/models/repo"
"code.gitea.io/gitea/models/unittest"
user_model "code.gitea.io/gitea/models/user"
- "code.gitea.io/gitea/modules/notification"
"code.gitea.io/gitea/modules/util"
"code.gitea.io/gitea/services/feed"
+ notify_service "code.gitea.io/gitea/services/notify"
"github.com/stretchr/testify/assert"
)
@@ -25,7 +25,7 @@ var notifySync sync.Once
func registerNotifier() {
notifySync.Do(func() {
- notification.RegisterNotifier(feed.NewNotifier())
+ notify_service.RegisterNotifier(feed.NewNotifier())
})
}