aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--instance_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/instance_test.go b/instance_test.go
index 43404f2..0ceedb8 100644
--- a/instance_test.go
+++ b/instance_test.go
@@ -171,7 +171,7 @@ func TestEndpointPath(t *testing.T) {
},
{
endpoint: EndpointGetLatestSth,
- want: "http://example.com/test/get-sth",
+ want: "http://example.com/test/get-latest-sth",
},
{
endpoint: EndpointGetAnchors,
@@ -183,11 +183,11 @@ func TestEndpointPath(t *testing.T) {
},
{
endpoint: EndpointGetCosignedSth,
- want: "http://example.com/test/get-cosi",
+ want: "http://example.com/test/get-cosigned-sth",
},
{
endpoint: EndpointAddCosignature,
- want: "http://example.com/test/add-cosi",
+ want: "http://example.com/test/add-cosignature",
},
} {
if got, want := table.endpoint.Path(base, prefix), table.want; got != want {