mirror of
https://gitea.com/gitea/gitea-mcp.git
synced 2026-08-30 12:07:45 +00:00
feat(project): add project management tools
Add read and write tools for Gitea projects, including project and column CRUD and issue-to-project-column management. Bump gitea.dev/sdk to include ProjectsService. Assisted-by: Codet:codet-internal
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
|
||||
func TestSlimIssue(t *testing.T) {
|
||||
i := &gitea_sdk.Issue{
|
||||
ID: 99,
|
||||
Index: 42,
|
||||
Title: "Bug report",
|
||||
Body: "Something is broken",
|
||||
@@ -24,6 +25,9 @@ func TestSlimIssue(t *testing.T) {
|
||||
|
||||
m := slimIssue(i)
|
||||
|
||||
if m["id"] != int64(99) {
|
||||
t.Errorf("expected id 99, got %v", m["id"])
|
||||
}
|
||||
if m["number"] != int64(42) {
|
||||
t.Errorf("expected number 42, got %v", m["number"])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user