aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/packages/conda/metadata_test.go6
-rw-r--r--modules/packages/container/metadata_test.go4
-rw-r--r--modules/packages/pub/metadata_test.go6
3 files changed, 8 insertions, 8 deletions
diff --git a/modules/packages/conda/metadata_test.go b/modules/packages/conda/metadata_test.go
index 2038ca370c..2bb114f030 100644
--- a/modules/packages/conda/metadata_test.go
+++ b/modules/packages/conda/metadata_test.go
@@ -19,9 +19,9 @@ const (
packageName = "gitea"
packageVersion = "1.0.1"
description = "Package Description"
- projectURL = "https://gitea.io"
- repositoryURL = "https://gitea.io/gitea/gitea"
- documentationURL = "https://docs.gitea.io"
+ projectURL = "https://gitea.com"
+ repositoryURL = "https://gitea.com/gitea/gitea"
+ documentationURL = "https://docs.gitea.com"
)
func TestParsePackage(t *testing.T) {
diff --git a/modules/packages/container/metadata_test.go b/modules/packages/container/metadata_test.go
index 195b3982cb..665499b2e6 100644
--- a/modules/packages/container/metadata_test.go
+++ b/modules/packages/container/metadata_test.go
@@ -17,9 +17,9 @@ func TestParseImageConfig(t *testing.T) {
description := "Image Description"
author := "Gitea"
license := "MIT"
- projectURL := "https://gitea.io"
+ projectURL := "https://gitea.com"
repositoryURL := "https://gitea.com/gitea"
- documentationURL := "https://docs.gitea.io"
+ documentationURL := "https://docs.gitea.com"
configOCI := `{"config": {"labels": {"` + labelAuthors + `": "` + author + `", "` + labelLicenses + `": "` + license + `", "` + labelURL + `": "` + projectURL + `", "` + labelSource + `": "` + repositoryURL + `", "` + labelDocumentation + `": "` + documentationURL + `", "` + labelDescription + `": "` + description + `"}}, "history": [{"created_by": "do it 1"}, {"created_by": "dummy #(nop) do it 2"}]}`
diff --git a/modules/packages/pub/metadata_test.go b/modules/packages/pub/metadata_test.go
index 4c0c3f0ec6..8f9126e0c9 100644
--- a/modules/packages/pub/metadata_test.go
+++ b/modules/packages/pub/metadata_test.go
@@ -18,9 +18,9 @@ const (
packageName = "gitea"
packageVersion = "1.0.1"
description = "Package Description"
- projectURL = "https://gitea.io"
- repositoryURL = "https://gitea.io/gitea/gitea"
- documentationURL = "https://docs.gitea.io"
+ projectURL = "https://gitea.com"
+ repositoryURL = "https://gitea.com/gitea/gitea"
+ documentationURL = "https://docs.gitea.com"
)
const pubspecContent = `name: ` + packageName + `