vikunja-api/models/models_test.go
2018-09-08 13:29:35 +02:00

13 lines
242 B
Go

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