mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-21 17:17:48 +08:00
Import topics during migration (#7851)
* add GetTopics interface * CreateTopics * remove un-needed comment
This commit is contained in:

committed by
Lunny Xiao

parent
99a004c343
commit
46d6b92ad0
@ -71,6 +71,10 @@ func TestGitHubDownloadRepo(t *testing.T) {
|
||||
OriginalURL: "https://github.com/go-gitea/gitea",
|
||||
}, repo)
|
||||
|
||||
topics, err := downloader.GetTopics()
|
||||
assert.NoError(t, err)
|
||||
assert.Contains(t, topics, "gitea")
|
||||
|
||||
milestones, err := downloader.GetMilestones()
|
||||
assert.NoError(t, err)
|
||||
// before this tool release, we have 39 milestones on github.com/go-gitea/gitea
|
||||
|
Reference in New Issue
Block a user