From 9dc0caf031f33f629f6c7e237a0c1539373431f1 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Thu, 28 Apr 2022 16:19:27 +0200 Subject: use a more appropriate URL for testing sigsum dot com is not a thing. --- pkg/requests/requests_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkg') diff --git a/pkg/requests/requests_test.go b/pkg/requests/requests_test.go index ccbd8e9..c8104ff 100644 --- a/pkg/requests/requests_test.go +++ b/pkg/requests/requests_test.go @@ -22,7 +22,7 @@ func TestLeafToASCII(t *testing.T) { } func TestLeavesToURL(t *testing.T) { - url := types.EndpointGetLeaves.Path("https://log.sigsum.com/sigsum/v0") + url := types.EndpointGetLeaves.Path("https://poc.sigsum.org/sigsum/v0") req := Leaves{1, 2} want := url + "1/2" if got := req.ToURL(url); got != want { @@ -31,7 +31,7 @@ func TestLeavesToURL(t *testing.T) { } func TestInclusionProofToURL(t *testing.T) { - url := types.EndpointGetInclusionProof.Path("https://log.sigsum.com/sigsum/v0") + url := types.EndpointGetInclusionProof.Path("https://poc.sigsum.org/sigsum/v0") req := InclusionProof{1, types.Hash{}} want := url + "1/0000000000000000000000000000000000000000000000000000000000000000" if got := req.ToURL(url); got != want { @@ -40,7 +40,7 @@ func TestInclusionProofToURL(t *testing.T) { } func TestConsistencyProofToURL(t *testing.T) { - url := types.EndpointGetConsistencyProof.Path("https://log.sigsum.com/sigsum/v0") + url := types.EndpointGetConsistencyProof.Path("https://poc.sigsum.org/sigsum/v0") req := ConsistencyProof{1, 2} want := url + "1/2" if got := req.ToURL(url); got != want { -- cgit v1.2.3