aboutsummaryrefslogtreecommitdiff
path: root/pkg/instance/instance_test.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-09-13 13:26:06 +0200
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-09-13 13:26:06 +0200
commit33e199c9939e110bd677e7b3e43547c6e55bb6e2 (patch)
tree7587ba4cc0faed4bf56eba4bbcc1020c27bd981e /pkg/instance/instance_test.go
parentb12bbcfb850542d92275d1e0a65aac641c30a1ee (diff)
fixed {st,stfe,system-transparency} -> sigsum
Diffstat (limited to 'pkg/instance/instance_test.go')
-rw-r--r--pkg/instance/instance_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/instance/instance_test.go b/pkg/instance/instance_test.go
index f864628..1eba2bf 100644
--- a/pkg/instance/instance_test.go
+++ b/pkg/instance/instance_test.go
@@ -1,11 +1,11 @@
-package stfe
+package instance
import (
"net/http"
"net/http/httptest"
"testing"
- "github.com/system-transparency/stfe/pkg/types"
+ "golang.sigsum.org/sigsum-log-go/pkg/types"
)
// TestHandlers check that the expected handlers are configured
@@ -74,7 +74,7 @@ func TestPath(t *testing.T) {
Endpoint: types.EndpointAddLeaf,
Method: http.MethodPost,
}
- if got, want := handler.Path(), "testonly/st/v0/add-leaf"; got != want {
+ if got, want := handler.Path(), "testonly/sigsum/v0/add-leaf"; got != want {
t.Errorf("got path %v but wanted %v", got, want)
}
}