summaryrefslogtreecommitdiffstats
path: root/services/migrations/forgejo_downloader_test.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--services/migrations/forgejo_downloader_test.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/services/migrations/forgejo_downloader_test.go b/services/migrations/forgejo_downloader_test.go
new file mode 100644
index 0000000..5bd3755
--- /dev/null
+++ b/services/migrations/forgejo_downloader_test.go
@@ -0,0 +1,16 @@
+// Copyright 2023 The Forgejo Authors
+// SPDX-License-Identifier: MIT
+
+package migrations
+
+import (
+ "testing"
+
+ "code.gitea.io/gitea/modules/structs"
+
+ "github.com/stretchr/testify/require"
+)
+
+func TestForgejoDownload(t *testing.T) {
+ require.NotNil(t, getFactoryFromServiceType(structs.ForgejoService))
+}