12 lines
211 B
Go
12 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)
|
|
}
|