mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: fix tests
This commit is contained in:
@ -19,7 +19,7 @@ import (
|
||||
"github.com/usememos/memos/server/profile"
|
||||
"github.com/usememos/memos/store"
|
||||
"github.com/usememos/memos/store/db"
|
||||
"github.com/usememos/memos/store/sqlite3"
|
||||
"github.com/usememos/memos/store/sqlite"
|
||||
"github.com/usememos/memos/test"
|
||||
)
|
||||
|
||||
@ -40,7 +40,7 @@ func NewTestingServer(ctx context.Context, t *testing.T) (*TestingServer, error)
|
||||
return nil, errors.Wrap(err, "failed to migrate db")
|
||||
}
|
||||
|
||||
driver := sqlite3.NewDriver(db.DBInstance)
|
||||
driver := sqlite.NewDriver(db.DBInstance)
|
||||
|
||||
store := store.New(db.DBInstance, driver, profile)
|
||||
server, err := server.NewServer(ctx, profile, store)
|
||||
|
Reference in New Issue
Block a user