DB Migrations #67
|
@ -52,8 +52,7 @@ func MainTest(m *testing.M, pathToRoot string) {
|
||||||
|
|
||||||
func createTestEngine(fixturesDir string) error {
|
func createTestEngine(fixturesDir string) error {
|
||||||
var err error
|
var err error
|
||||||
var fixturesHelper testfixtures.Helper
|
var fixturesHelper testfixtures.Helper = &testfixtures.SQLite{}
|
||||||
fixturesHelper = &testfixtures.SQLite{}
|
|
||||||
// If set, use the config we provided instead of normal
|
// If set, use the config we provided instead of normal
|
||||||
if os.Getenv("VIKUNJA_TESTS_USE_CONFIG") == "1" {
|
if os.Getenv("VIKUNJA_TESTS_USE_CONFIG") == "1" {
|
||||||
config.InitConfig()
|
config.InitConfig()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user