Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit fa64613

Browse files
committed
Fix tests
Method was renamed
1 parent 88ba192 commit fa64613

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/mock.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package bstest
33
import (
44
. "github.com/ipfs/go-blockservice"
55

6-
bitswap "github.com/ipfs/go-bitswap"
6+
testinstance "github.com/ipfs/go-bitswap/testinstance"
77
tn "github.com/ipfs/go-bitswap/testnet"
88
delay "github.com/ipfs/go-ipfs-delay"
99
mockrouting "github.com/ipfs/go-ipfs-routing/mock"
@@ -12,7 +12,7 @@ import (
1212
// Mocks returns |n| connected mock Blockservices
1313
func Mocks(n int) []BlockService {
1414
net := tn.VirtualNetwork(mockrouting.NewServer(), delay.Fixed(0))
15-
sg := bitswap.NewTestSessionGenerator(net)
15+
sg := testinstance.NewTestInstanceGenerator(net)
1616

1717
instances := sg.Instances(n)
1818

0 commit comments

Comments
 (0)