refactor sqlite repository
This commit is contained in:
@@ -18,7 +18,7 @@ func TestNKodeAPI(t *testing.T) {
|
||||
|
||||
dbPath := os.Getenv("TEST_DB")
|
||||
ctx := context.Background()
|
||||
sqlitedb, err := repository.NewSqliteRepository(dbPath, ctx)
|
||||
sqlitedb, err := repository.NewSqliteRepository(ctx, dbPath)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user