chore: update grpc router path

This commit is contained in:
Jason Song committed 2022-11-25 17:48:48 +08:00
1 parent 48f5c152b9
commit e346581344
4 files changed
+24 -23

No files matched your search

+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(), ""))
}