initial commit
This commit is contained in:
12
models/models_test.go
Normal file
12
models/models_test.go
Normal file
@ -0,0 +1,12 @@
|
||||
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)
|
||||
}
|
Reference in New Issue
Block a user