getTestConfig returns config for integration tests using SQLite. Integration tests validate business logic, not storage compatibility.
()
| 115 | // getTestConfig returns config for integration tests using SQLite. |
| 116 | // Integration tests validate business logic, not storage compatibility. |
| 117 | func 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 |
| 122 | func getTestConfigForDB(dbType, dbURL string) *config.Config { |