Skip to content

Commit bd3bf35

Browse files
committed
Mark as helper
1 parent fcab790 commit bd3bf35

File tree

1 file changed

+2
-0
lines changed
  • packages/db/testutils

1 file changed

+2
-0
lines changed

packages/db/testutils/db.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ func runDatabaseMigrations(t *testing.T, connStr string) {
100100

101101
// cleanupTestDatabase terminates the container and restores environment
102102
func cleanupTestDatabase(tb testing.TB, ctx context.Context, sqlcClient *db.Client, container *postgres.PostgresContainer) {
103+
tb.Helper()
104+
103105
if sqlcClient != nil {
104106
err := sqlcClient.Close()
105107
if err != nil {

0 commit comments

Comments
 (0)