test(service): stabilize race checks for gin-based tests
This commit is contained in:
7
backend/internal/service/gin_test_setup_test.go
Normal file
7
backend/internal/service/gin_test_setup_test.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package service
|
||||
|
||||
import "github.com/gin-gonic/gin"
|
||||
|
||||
func init() {
|
||||
gin.SetMode(gin.TestMode)
|
||||
}
|
||||
Reference in New Issue
Block a user