aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2022-04-28 16:19:27 +0200
committerLinus Nordberg <linus@nordberg.se>2022-04-28 16:19:27 +0200
commit9dc0caf031f33f629f6c7e237a0c1539373431f1 (patch)
tree6089ba6b5e6a3ed6ef2464f0a4d180cad7a64e4b /pkg
parente4599334cf434f65cd49f92b604546acd39d4c39 (diff)
use a more appropriate URL for testing
sigsum dot com is not a thing.
Diffstat (limited to 'pkg')
-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 {