MCPcopy Index your code
hub / github.com/authorizerdev/authorizer / getTestConfig

Function getTestConfig

internal/integration_tests/test_helper.go:117–119  ·  view source on GitHub ↗

getTestConfig returns config for integration tests using SQLite. Integration tests validate business logic, not storage compatibility.

()

Source from the content-addressed store, hash-verified

115// getTestConfig returns config for integration tests using SQLite.
116// Integration tests validate business logic, not storage compatibility.
117func getTestConfig() *config.Config {
118 return getTestConfigForDB(constants.DbTypeSqlite, "test.db")
119}
120
121// getTestConfigForDB returns a test config for a specific database type and URL
122func getTestConfigForDB(dbType, dbURL string) *config.Config {

Calls 1

getTestConfigForDBFunction · 0.85