@@ -29,6 +29,7 @@ import (
29
29
"github.com/ethereum/go-ethereum/crypto"
30
30
"github.com/ethersphere/swarm/api"
31
31
swarmhttp "github.com/ethersphere/swarm/api/http"
32
+ chunktesting "github.com/ethersphere/swarm/chunk/testing"
32
33
"github.com/ethersphere/swarm/storage"
33
34
"github.com/ethersphere/swarm/storage/feed"
34
35
"github.com/ethersphere/swarm/storage/feed/lookup"
@@ -50,7 +51,7 @@ func TestClientUploadDownloadRaw(t *testing.T) {
50
51
51
52
// check the tag was created successfully
52
53
tag := srv .Tags .All ()[0 ]
53
- testutil .CheckTag (t , tag , 1 , 1 , 0 , 1 )
54
+ chunktesting .CheckTag (t , tag , 1 , 1 , 0 , 1 )
54
55
}
55
56
56
57
func TestClientUploadDownloadRawEncrypted (t * testing.T ) {
@@ -68,7 +69,7 @@ func TestClientUploadDownloadRawEncrypted(t *testing.T) {
68
69
69
70
// check the tag was created successfully
70
71
tag := srv .Tags .All ()[0 ]
71
- testutil .CheckTag (t , tag , 1 , 1 , 0 , 1 )
72
+ chunktesting .CheckTag (t , tag , 1 , 1 , 0 , 1 )
72
73
}
73
74
74
75
func testClientUploadDownloadRaw (srv * swarmhttp.TestSwarmServer , toEncrypt bool , t * testing.T , data []byte , toPin bool ) string {
@@ -227,7 +228,7 @@ func TestClientUploadDownloadDirectory(t *testing.T) {
227
228
228
229
// check the tag was created successfully
229
230
tag := srv .Tags .All ()[0 ]
230
- testutil .CheckTag (t , tag , 9 , 9 , 0 , 9 )
231
+ chunktesting .CheckTag (t , tag , 9 , 9 , 0 , 9 )
231
232
232
233
// check we can download the individual files
233
234
checkDownloadFile := func (path string , expected []byte ) {
@@ -371,7 +372,7 @@ func TestClientMultipartUpload(t *testing.T) {
371
372
372
373
// check the tag was created successfully
373
374
tag := srv .Tags .All ()[0 ]
374
- testutil .CheckTag (t , tag , 9 , 9 , 0 , 9 )
375
+ chunktesting .CheckTag (t , tag , 9 , 9 , 0 , 9 )
375
376
376
377
// check we can download the individual files
377
378
checkDownloadFile := func (path string ) {
0 commit comments