multi: rename chan DB Open method to OpenForTesting
This commit is contained in:
24 files changed
+101
-331
No files matched your search
@@ -101,11 +101,7 @@ func TestNetworkResultStore(t *testing.T) {
|
||||
|
||||
const numResults = 4
|
||||
|
||||
db, err := channeldb.Open(t.TempDir())
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Cleanup(func() { db.Close() })
|
||||
db := channeldb.OpenForTesting(t, t.TempDir())
|
||||
|
||||
store := newNetworkResultStore(db)
|
||||
|
||||
|
||||
Reference in new issue
Block a user