multi: use sqldb.NoOpReset helper

Define a re-usable "reset" function, sqldb.NoOpReset, that can be used
for the reset parameter in sql ExecTx calls.
This commit is contained in:
Elle Mouton committed 2025-05-28 10:18:53 +02:00
1 parent c4e6f23c5b
commit 9cbc1f804e
5 files changed
+19 -15

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ func TestMigrationWithChannelDB(t *testing.T) {
ctxb, kvStore.Backend, kvStore, tx,
batchSize,
)
}, func() {},
}, sqldb.NoOpReset,
)
require.NoError(t, err)