diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-02-22 10:44:34 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-02-22 10:44:34 +0100 |
commit | a09c0f5858e0eae333e3a88de5264806dc9022bd (patch) | |
tree | b3aa7ff04c31ee2df7cad4bfbc3af29589ba3d6f | |
parent | 927a314012720b82fe8d3c0d4e96bb1bf1dbb12d (diff) |
fixed endpoint paths in instance tests
-rw-r--r-- | instance_test.go | 6 |
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 { |