graph/db: update outdated comments

This commit is contained in:
Elle Mouton
2025-06-30 12:33:43 +02:00
parent e4137a3f14
commit c5b2e4e50a
2 changed files with 2 additions and 4 deletions

View File

@@ -12,8 +12,7 @@ import (
)
// 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
// SQLStore fully implements the V1Store interface, the KVStore will be removed.
// database for testing.
func NewTestDB(t testing.TB) V1Store {
pgFixture := sqldb.NewTestPgFixture(
t, sqldb.DefaultPostgresFixtureLifetime,

View File

@@ -12,8 +12,7 @@ import (
)
// 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
// SQLStore fully implements the V1Store interface, the KVStore will be removed.
// database for testing.
func NewTestDB(t testing.TB) V1Store {
db := sqldb.NewTestSqliteDB(t).BaseDB