aboutsummaryrefslogtreecommitdiff
path: root/reqres_test.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-02-22 10:33:44 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-02-22 10:33:44 +0100
commit927a314012720b82fe8d3c0d4e96bb1bf1dbb12d (patch)
tree084a5b67566317d555599a3de5567fe4e77de8dd /reqres_test.go
parent5154fbe82a186d1c56a29452ab50444a25e716a6 (diff)
renamed sth and cosigning endpoints
Diffstat (limited to 'reqres_test.go')
-rw-r--r--reqres_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/reqres_test.go b/reqres_test.go
index ce0c7b6..7c3b455 100644
--- a/reqres_test.go
+++ b/reqres_test.go
@@ -35,7 +35,7 @@ func TestNewAddCosignatureRequest(t *testing.T) {
breq: mustMakeAddCosiBuffer(t, testdata.Ed25519Sk, testdata.Ed25519Vk, validSth),
},
} {
- url := EndpointAddCosi.Path("http://example.com", lp.Prefix)
+ url := EndpointAddCosignature.Path("http://example.com", lp.Prefix)
req, err := http.NewRequest("POST", url, table.breq)
if err != nil {
t.Fatalf("failed creating http request: %v", err)