aboutsummaryrefslogtreecommitdiff
path: root/pkg/requests
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/requests')
-rw-r--r--pkg/requests/requests_test.go6
1 files changed, 3 insertions, 3 deletions
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 {