merge main into repository-context-enabled-background

This commit is contained in:
ryan
2026-06-18 12:13:45 +08:00
10 changed files with 237 additions and 42 deletions
+1 -2
View File
@@ -24,8 +24,7 @@ func TestCapEndpointsAndMiddleware(t *testing.T) {
sqliteDB, _, cleanup := testhelper.SetupTestEnvironment(t)
defer cleanup()
gin.SetMode(gin.TestMode)
r := gin.New()
r := testhelper.NewTestGinEngine()
// Mount CAPTCHA API endpoints
capGroup := r.Group("/api/cap")