File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ test_ls_cmd() {
15
15
test_expect_success " Text encoded channel-streaming command succeeds" '
16
16
mkdir -p testdir &&
17
17
echo "hello test" >testdir/test.txt &&
18
- ipfs add -r testdir &&
18
+ ipfs add --cid-version 0 - r testdir &&
19
19
curl -X POST -i "http://$API_ADDR/api/v0/refs?arg=QmTcJAn3JP8ZMAKS6WS75q8sbTyojWKbxcUHgLYGWur4Ym&stream-channels=true&encoding=text" >actual_output
20
20
'
21
21
@@ -38,7 +38,7 @@ test_ls_cmd() {
38
38
test_expect_success " JSON encoded channel-streaming command succeeds" '
39
39
mkdir -p testdir &&
40
40
echo "hello test" >testdir/test.txt &&
41
- ipfs add -r testdir &&
41
+ ipfs add --cid-version 0 - r testdir &&
42
42
curl -X POST -i "http://$API_ADDR/api/v0/refs?arg=QmTcJAn3JP8ZMAKS6WS75q8sbTyojWKbxcUHgLYGWur4Ym&stream-channels=true&encoding=json" >actual_output
43
43
'
44
44
You can’t perform that action at this time.
0 commit comments