graph/db: update outdated comments
This commit is contained in:
2 files changed
+2
-4
No files matched your search
@@ -12,8 +12,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// NewTestDB is a helper function that creates a SQLStore backed by a postgres
|
// NewTestDB is a helper function that creates a SQLStore backed by a postgres
|
||||||
// database for testing. At the moment, it embeds a KVStore but once the
|
// database for testing.
|
||||||
// SQLStore fully implements the V1Store interface, the KVStore will be removed.
|
|
||||||
func NewTestDB(t testing.TB) V1Store {
|
func NewTestDB(t testing.TB) V1Store {
|
||||||
pgFixture := sqldb.NewTestPgFixture(
|
pgFixture := sqldb.NewTestPgFixture(
|
||||||
t, sqldb.DefaultPostgresFixtureLifetime,
|
t, sqldb.DefaultPostgresFixtureLifetime,
|
||||||
|
|||||||
@@ -12,8 +12,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// NewTestDB is a helper function that creates a SQLStore backed by a sqlite
|
// NewTestDB is a helper function that creates a SQLStore backed by a sqlite
|
||||||
// database for testing. At the moment, it embeds a KVStore but once the
|
// database for testing.
|
||||||
// SQLStore fully implements the V1Store interface, the KVStore will be removed.
|
|
||||||
func NewTestDB(t testing.TB) V1Store {
|
func NewTestDB(t testing.TB) V1Store {
|
||||||
db := sqldb.NewTestSqliteDB(t).BaseDB
|
db := sqldb.NewTestSqliteDB(t).BaseDB
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user