Library/models/models_test.go
konrad a01f0a7b33
All checks were successful
the build was successful
gofmt
2018-01-16 16:24:29 +01:00

13 lines
211 B
Go

package models
import (
"github.com/stretchr/testify/assert"
"testing"
)
func TestSetEngine(t *testing.T) {
Config.Database.Path = "file::memory:?cache=shared"
err := SetEngine()
assert.NoError(t, err)
}