chore: update grpc router path

This commit is contained in:
Jason Song
2022-11-25 17:48:48 +08:00
parent 48f5c152b9
commit e346581344
4 changed files with 24 additions and 23 deletions
+2 -2
View File
@@ -5,12 +5,12 @@
package bots
import (
"context"
"testing"
"code.gitea.io/gitea/modules/web"
"code.gitea.io/gitea/routers/api/bots/ping"
)
func TestPingService(t *testing.T) {
ping.MainServiceTest(t, Routes(web.NewRoute()))
ping.MainServiceTest(t, Routes(context.Background(), ""))
}