Skip to content

Commit

Permalink
t0114: clear (d)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsenta committed Jun 27, 2023
1 parent 8cb601c commit 8810853
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 118 deletions.
10 changes: 5 additions & 5 deletions fixtures/subdomain_gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ DIR_CID=$(ipfs add -Qr --cid-version 1 testdirlisting)
echo DIR_CID=${DIR_CID} # ./testdirlisting

ipfs files mkdir /t0114/
ipfs files cp /ipfs/${CIDv1} /t0114/
ipfs files cp /ipfs/${CIDv0} /t0114/
ipfs files cp /ipfs/${CIDv0to1} /t0114/
ipfs files cp /ipfs/${DIR_CID} /t0114/
ipfs files cp /ipfs/${CIDv1_TOO_LONG} /t0114/
ipfs files cp /ipfs/${CIDv1} /t0114/hello-CIDv1
ipfs files cp /ipfs/${CIDv0} /t0114/hello-CIDv0
ipfs files cp /ipfs/${CIDv0to1} /t0114/hello-CIDv0to1
ipfs files cp /ipfs/${DIR_CID} /t0114/testdirlisting
ipfs files cp /ipfs/${CIDv1_TOO_LONG} /t0114/hello-CIDv1_TOO_LONG

ROOT=`ipfs files stat /t0114/ --hash`

Expand Down
111 changes: 0 additions & 111 deletions fixtures/t0114/README.md

This file was deleted.

Binary file removed fixtures/t0114/fixtures.car
Binary file not shown.
3 changes: 1 addition & 2 deletions tests/subdomain_gateway_ipns_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ func TestGatewaySubdomainAndIPNS(t *testing.T) {
ed25519Fixture := ipns.MustOpenIPNSRecordWithKey("subdomain_gateway/12D3KooWLQzUv2FHWGVPXTXSZpdHs7oHbXub2G5WC8Tx4NQhyd2d.ipns-record")

car := car.MustOpenUnixfsCar("subdomain_gateway/fixtures.car")
helloCID := "bafkreicysg23kiwv34eg2d7qweipxwosdo2py4ldv42nbauguluen5v6am"
payload := string(car.MustGetRawData(helloCID))
payload := string(car.MustGetRawData("hello-CIDv1"))

// We're going to run the same test against multiple gateways (localhost, and a subdomain gateway)
gatewayURLs := []string{
Expand Down

0 comments on commit 8810853

Please sign in to comment.