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
@@ -325,7 +325,7 @@ func testMigrateSingleInvoiceRapid(t *rapid.T, store *SQLStore, mpp bool,
}
return nil
}, func() {})
}, sqldb.NoOpReset)
require.NoError(t, err)
// Fetch and compare each migrated invoice from the store with the