Skip to content

Commit ffbe755

Browse files
committed
test: t0230-channel-streaming-http-content-type.sh
1 parent e1d4c98 commit ffbe755

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/sharness/t0230-channel-streaming-http-content-type.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test_ls_cmd() {
1515
test_expect_success "Text encoded channel-streaming command succeeds" '
1616
mkdir -p testdir &&
1717
echo "hello test" >testdir/test.txt &&
18-
ipfs add -r testdir &&
18+
ipfs add --cid-version 0 -r testdir &&
1919
curl -X POST -i "http://$API_ADDR/api/v0/refs?arg=QmTcJAn3JP8ZMAKS6WS75q8sbTyojWKbxcUHgLYGWur4Ym&stream-channels=true&encoding=text" >actual_output
2020
'
2121

@@ -38,7 +38,7 @@ test_ls_cmd() {
3838
test_expect_success "JSON encoded channel-streaming command succeeds" '
3939
mkdir -p testdir &&
4040
echo "hello test" >testdir/test.txt &&
41-
ipfs add -r testdir &&
41+
ipfs add --cid-version 0 -r testdir &&
4242
curl -X POST -i "http://$API_ADDR/api/v0/refs?arg=QmTcJAn3JP8ZMAKS6WS75q8sbTyojWKbxcUHgLYGWur4Ym&stream-channels=true&encoding=json" >actual_output
4343
'
4444

0 commit comments

Comments
 (0)