From a09c0f5858e0eae333e3a88de5264806dc9022bd Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Mon, 22 Feb 2021 10:44:34 +0100 Subject: fixed endpoint paths in instance tests --- instance_test.go | 6 +++--- 1 file 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 { -- cgit v1.2.3