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:
5 files changed
+19
-15
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user