mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-05 23:44:22 +00:00
Implement session and system tests
This commit is contained in:
@@ -8,11 +8,6 @@ import (
|
||||
_ "github.com/mattn/go-sqlite3"
|
||||
)
|
||||
|
||||
type mockSecrets struct{}
|
||||
|
||||
func (m *mockSecrets) Encrypt(s string) (string, error) { return s, nil }
|
||||
func (m *mockSecrets) Decrypt(s string) (string, error) { return s, nil }
|
||||
|
||||
func TestMigrate(t *testing.T) {
|
||||
database, err := db.NewTestDB(":memory:", &mockSecrets{})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user