Skip to content

Commit

Permalink
test: t0230-channel-streaming-http-content-type.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Jun 11, 2021
1 parent e1d4c98 commit ffbe755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sharness/t0230-channel-streaming-http-content-type.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test_ls_cmd() {
test_expect_success "Text encoded channel-streaming command succeeds" '
mkdir -p testdir &&
echo "hello test" >testdir/test.txt &&
ipfs add -r testdir &&
ipfs add --cid-version 0 -r testdir &&
curl -X POST -i "http://$API_ADDR/api/v0/refs?arg=QmTcJAn3JP8ZMAKS6WS75q8sbTyojWKbxcUHgLYGWur4Ym&stream-channels=true&encoding=text" >actual_output
'

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

Expand Down

0 comments on commit ffbe755

Please sign in to comment.